aboutsummaryrefslogtreecommitdiffstats
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
parent0ff5b5cadf3bad748d18c5008da68567696eea47 (diff)
downloadgsoc2013-evolution-d4e6bc07fe95249ef2ff034f3557ae3a77b975bb.tar
gsoc2013-evolution-d4e6bc07fe95249ef2ff034f3557ae3a77b975bb.tar.gz
gsoc2013-evolution-d4e6bc07fe95249ef2ff034f3557ae3a77b975bb.tar.bz2
gsoc2013-evolution-d4e6bc07fe95249ef2ff034f3557ae3a77b975bb.tar.lz
gsoc2013-evolution-d4e6bc07fe95249ef2ff034f3557ae3a77b975bb.tar.xz
gsoc2013-evolution-d4e6bc07fe95249ef2ff034f3557ae3a77b975bb.tar.zst
gsoc2013-evolution-d4e6bc07fe95249ef2ff034f3557ae3a77b975bb.zip
(destroy): Remove the weak pointer on priv->control.
svn path=/trunk/; revision=21215
-rw-r--r--my-evolution/ChangeLog4
-rw-r--r--my-evolution/e-summary.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index 1e7db89e9a..8c4b634eb0 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,5 +1,9 @@
2003-05-16 Ettore Perazzoli <ettore@ximian.com>
+ * e-summary.c (destroy): Remove the weak pointer on priv->control.
+
+2003-05-16 Ettore Perazzoli <ettore@ximian.com>
+
* e-summary-calendar.c (setup_calendar): Fix typo, celendar_path
-> calendar_path.
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)