aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-05-17 01:56:59 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-05-17 01:56:59 +0800
commitd4e6bc07fe95249ef2ff034f3557ae3a77b975bb (patch)
treea707ee2a701b7072d3b028d109aedadd156fe178 /my-evolution/e-summary.c
parent0ff5b5cadf3bad748d18c5008da68567696eea47 (diff)
downloadgsoc2013-evolution-d4e6bc07fe95249ef2ff034f3557ae3a77b975bb.tar.gz
gsoc2013-evolution-d4e6bc07fe95249ef2ff034f3557ae3a77b975bb.tar.zst
gsoc2013-evolution-d4e6bc07fe95249ef2ff034f3557ae3a77b975bb.zip
(destroy): Remove the weak pointer on priv->control.
svn path=/trunk/; revision=21215
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)