From d4e6bc07fe95249ef2ff034f3557ae3a77b975bb Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 16 May 2003 17:56:59 +0000 Subject: (destroy): Remove the weak pointer on priv->control. svn path=/trunk/; revision=21215 --- my-evolution/ChangeLog | 4 ++++ my-evolution/e-summary.c | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index 1e7db89e9a..8c4b634eb0 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,3 +1,7 @@ +2003-05-16 Ettore Perazzoli + + * e-summary.c (destroy): Remove the weak pointer on priv->control. + 2003-05-16 Ettore Perazzoli * e-summary-calendar.c (setup_calendar): Fix typo, celendar_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) -- cgit v1.2.3