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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/my-evolution/e-summary.c b/my-evolution/e-summary.c
index 8b57599513..3cccc4bb7c 100644
--- a/my-evolution/e-summary.c
+++ b/my-evolution/e-summary.c
@@ -165,6 +165,12 @@ destroy (GtkObject *object)
}
if (summary->tasks) {
e_summary_tasks_free (summary);
+
+ }
+
+ if (summary->priv->control) {
+ g_object_remove_weak_pointer (G_OBJECT (summary->priv->control), (void **) &summary->priv->control);
+ summary->priv->control = NULL;
}
if (priv->tomorrow_timeout_id != 0)