aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary.c
diff options
context:
space:
mode:
Diffstat (limited to 'my-evolution/e-summary.c')
-rw-r--r--my-evolution/e-summary.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/my-evolution/e-summary.c b/my-evolution/e-summary.c
index a32713b2de..bc7316d107 100644
--- a/my-evolution/e-summary.c
+++ b/my-evolution/e-summary.c
@@ -167,7 +167,8 @@ destroy (GtkObject *object)
e_summary_tasks_free (summary);
}
- g_source_remove (priv->tomorrow_timeout_id);
+ if (priv->tomorrow_timeout_id != 0)
+ g_source_remove (priv->tomorrow_timeout_id);
if (priv->protocol_hash) {
g_hash_table_foreach (priv->protocol_hash, free_protocol, NULL);