aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
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 /calendar/gui
parent5c7f2e0998600cdf323da03b6a62c139a708be9d (diff)
downloadgsoc2013-evolution-5c2c86cd7ab91e4e88f16c37cea2ffeaffa702d0.tar
gsoc2013-evolution-5c2c86cd7ab91e4e88f16c37cea2ffeaffa702d0.tar.gz
gsoc2013-evolution-5c2c86cd7ab91e4e88f16c37cea2ffeaffa702d0.tar.bz2
gsoc2013-evolution-5c2c86cd7ab91e4e88f16c37cea2ffeaffa702d0.tar.lz
gsoc2013-evolution-5c2c86cd7ab91e4e88f16c37cea2ffeaffa702d0.tar.xz
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
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-meeting-model.c5
1 files changed, 4 insertions, 1 deletions
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)