aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@src.gnome.org>2005-05-16 19:43:23 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-05-16 19:43:23 +0800
commit3c3d116d6ca48861fd9d7efd89d82d7f1d33db3d (patch)
tree758aa010a507d1e1e24843edc345f54473e6d639 /calendar/gui/gnome-cal.c
parent903becfede2bbdc739de5da88ca1341cac3ababf (diff)
downloadgsoc2013-evolution-3c3d116d6ca48861fd9d7efd89d82d7f1d33db3d.tar
gsoc2013-evolution-3c3d116d6ca48861fd9d7efd89d82d7f1d33db3d.tar.gz
gsoc2013-evolution-3c3d116d6ca48861fd9d7efd89d82d7f1d33db3d.tar.bz2
gsoc2013-evolution-3c3d116d6ca48861fd9d7efd89d82d7f1d33db3d.tar.lz
gsoc2013-evolution-3c3d116d6ca48861fd9d7efd89d82d7f1d33db3d.tar.xz
gsoc2013-evolution-3c3d116d6ca48861fd9d7efd89d82d7f1d33db3d.tar.zst
gsoc2013-evolution-3c3d116d6ca48861fd9d7efd89d82d7f1d33db3d.zip
Reverted Marcus Baines patch
svn path=/trunk/; revision=29374
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 0a038e4539..a5e95b2a9d 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -138,7 +138,6 @@ struct _GnomeCalendarPrivate {
char *sexp;
char *todo_sexp;
guint update_timeout;
- guint update_marcus_bains_line_timeout;
/* This is the view currently shown. We use it to keep track of the
positions of the panes. range_selected is TRUE if a range of dates
@@ -1088,21 +1087,6 @@ update_todo_view_cb (GnomeCalendar *gcal)
return TRUE;
}
-static gboolean
-update_marcus_bains_line_cb (GnomeCalendar *gcal)
-{
- GnomeCalendarPrivate *priv;
-
- priv = gcal->priv;
-
- if ((priv->current_view_type == GNOME_CAL_DAY_VIEW) ||
- (priv->current_view_type == GNOME_CAL_WORK_WEEK_VIEW)) {
- e_day_view_update_marcus_bains (E_DAY_VIEW (gnome_calendar_get_current_view_widget (gcal)));
- }
-
- return TRUE;
-}
-
static void
config_hide_completed_tasks_changed_cb (GConfClient *client, guint id, GConfEntry *entry, gpointer data)
{
@@ -1335,9 +1319,6 @@ setup_widgets (GnomeCalendar *gcal)
e_calendar_view_set_timezone (E_CALENDAR_VIEW (priv->work_week_view), priv->zone);
connect_day_view_focus (gcal, E_DAY_VIEW (priv->work_week_view));
- /* The Marcus Bains line */
- priv->update_marcus_bains_line_timeout = g_timeout_add_full (G_PRIORITY_LOW, 60000, (GSourceFunc) update_marcus_bains_line_cb, gcal, NULL);
-
/* The Week View. */
priv->week_view = e_week_view_new ();
e_calendar_view_set_calendar (E_CALENDAR_VIEW (priv->week_view), gcal);
@@ -1539,11 +1520,6 @@ gnome_calendar_destroy (GtkObject *object)
priv->view_instance = NULL;
}
- if (priv->update_marcus_bains_line_timeout) {
- g_source_remove (priv->update_marcus_bains_line_timeout);
- priv->update_marcus_bains_line_timeout = 0;
- }
-
if (priv->view_menus) {
g_object_unref (priv->view_menus);
priv->view_menus = NULL;