aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-memos.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-memos.c')
-rw-r--r--calendar/gui/e-memos.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/calendar/gui/e-memos.c b/calendar/gui/e-memos.c
index a782204297..397e0fd17c 100644
--- a/calendar/gui/e-memos.c
+++ b/calendar/gui/e-memos.c
@@ -86,7 +86,6 @@ struct _EMemosPrivate {
gchar *current_uid;
char *sexp;
- guint update_timeout;
/* View instance and the view menus handler */
GalViewInstance *view_instance;
@@ -295,14 +294,6 @@ update_view (EMemos *memos)
e_cal_component_memo_preview_clear (E_CAL_COMPONENT_MEMO_PREVIEW (priv->preview));
}
-static gboolean
-update_view_cb (EMemos *memos)
-{
- update_view (memos);
-
- return TRUE;
-}
-
static void
model_row_changed_cb (ETableModel *etm, int row, gpointer data)
{
@@ -549,9 +540,6 @@ setup_widgets (EMemos *memos)
g_signal_connect (etable, "cursor_change", G_CALLBACK (table_cursor_change_cb), memos);
g_signal_connect (etable, "selection_change", G_CALLBACK (table_selection_change_cb), memos);
- /* Timeout check to hide completed items */
- priv->update_timeout = g_timeout_add_full (G_PRIORITY_LOW, 60000, (GSourceFunc) update_view_cb, memos, NULL);
-
/* create the memo detail */
priv->preview = e_cal_component_memo_preview_new ();
e_cal_component_memo_preview_set_default_timezone (E_CAL_COMPONENT_MEMO_PREVIEW (priv->preview), calendar_config_get_icaltimezone ());
@@ -744,11 +732,6 @@ e_memos_destroy (GtkObject *object)
priv->sexp = NULL;
}
- if (priv->update_timeout) {
- g_source_remove (priv->update_timeout);
- priv->update_timeout = 0;
- }
-
if (priv->memos_view_config) {
g_object_unref (priv->memos_view_config);
priv->memos_view_config = NULL;