(destroy): Remove the weak pointer on priv->control.

svn path=/trunk/; revision=21215
This commit is contained in:
Ettore Perazzoli
2003-05-16 17:56:59 +00:00
parent 0ff5b5cadf
commit d4e6bc07fe
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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)