aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)