aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-08-20 08:50:28 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-08-20 08:50:28 +0800
commit5c2c86cd7ab91e4e88f16c37cea2ffeaffa702d0 (patch)
tree70ecaeafe851ae808a90dc53b4a3c85067b69ad5
parent5c7f2e0998600cdf323da03b6a62c139a708be9d (diff)
downloadgsoc2013-evolution-5c2c86cd7ab91e4e88f16c37cea2ffeaffa702d0.tar.gz
gsoc2013-evolution-5c2c86cd7ab91e4e88f16c37cea2ffeaffa702d0.tar.zst
gsoc2013-evolution-5c2c86cd7ab91e4e88f16c37cea2ffeaffa702d0.zip
disconnect destroy signal callbacks on tables
2002-08-19 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (destroy): disconnect destroy signal callbacks on tables Fixes #28231 svn path=/trunk/; revision=17813
-rw-r--r--calendar/ChangeLog11
-rw-r--r--calendar/gui/e-meeting-model.c5
2 files changed, 13 insertions, 3 deletions
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 <jpr@ximian.com>
+2002-08-19 JP Rosevear <jpr@ximian.com>
+
+ * gui/e-meeting-model.c (destroy): disconnect destroy signal
+ callbacks on tables
+
+ Fixes #28231
+2002-08-19 JP Rosevear <jpr@ximian.com>
+
* gui/itip-utils.c (comp_toplevel_with_zones): clone the ical
component before adding it
Fixes #29061
-2002-08-20 JP Rosevear <jpr@ximian.com>
+2002-08-19 JP Rosevear <jpr@ximian.com>
* 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)