From 5c2c86cd7ab91e4e88f16c37cea2ffeaffa702d0 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 20 Aug 2002 00:50:28 +0000 Subject: disconnect destroy signal callbacks on tables 2002-08-19 JP Rosevear * gui/e-meeting-model.c (destroy): disconnect destroy signal callbacks on tables Fixes #28231 svn path=/trunk/; revision=17813 --- calendar/ChangeLog | 11 +++++++++-- calendar/gui/e-meeting-model.c | 5 ++++- 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 87e4cdd90f..538aba61e9 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,11 +1,18 @@ -2002-08-20 JP Rosevear +2002-08-19 JP Rosevear + + * gui/e-meeting-model.c (destroy): disconnect destroy signal + callbacks on tables + + Fixes #28231 +2002-08-19 JP Rosevear + * gui/itip-utils.c (comp_toplevel_with_zones): clone the ical component before adding it Fixes #29061 -2002-08-20 JP Rosevear +2002-08-19 JP Rosevear * gui/comp-editor-factory.c (get_default_event): make sure to get the date in the current zone, not at UTC diff --git a/calendar/gui/e-meeting-model.c b/calendar/gui/e-meeting-model.c index 27648234c7..a59533853c 100644 --- a/calendar/gui/e-meeting-model.c +++ b/calendar/gui/e-meeting-model.c @@ -705,6 +705,7 @@ destroy (GtkObject *obj) { EMeetingModel *im = E_MEETING_MODEL (obj); EMeetingModelPrivate *priv; + GList *l; int i; priv = im->priv; @@ -712,7 +713,9 @@ destroy (GtkObject *obj) for (i = 0; i < priv->attendees->len; i++) gtk_object_unref (GTK_OBJECT (g_ptr_array_index (priv->attendees, i))); g_ptr_array_free (priv->attendees, TRUE); - + + for (l = priv->tables; l != NULL; l = l->next) + gtk_signal_disconnect_by_data (GTK_OBJECT (l->data), im); g_list_free (priv->tables); if (priv->client != NULL) -- cgit