aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-09-05 04:27:38 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-09-05 04:27:38 +0800
commit2289bebe82d32bb2390e3218a6dc9c07981540c7 (patch)
tree98fb84005de564e89c168f5474b228765f812af8 /calendar
parente707e15af3e4a1bd5493820305bd667e42b32b9b (diff)
downloadgsoc2013-evolution-2289bebe82d32bb2390e3218a6dc9c07981540c7.tar
gsoc2013-evolution-2289bebe82d32bb2390e3218a6dc9c07981540c7.tar.gz
gsoc2013-evolution-2289bebe82d32bb2390e3218a6dc9c07981540c7.tar.bz2
gsoc2013-evolution-2289bebe82d32bb2390e3218a6dc9c07981540c7.tar.lz
gsoc2013-evolution-2289bebe82d32bb2390e3218a6dc9c07981540c7.tar.xz
gsoc2013-evolution-2289bebe82d32bb2390e3218a6dc9c07981540c7.tar.zst
gsoc2013-evolution-2289bebe82d32bb2390e3218a6dc9c07981540c7.zip
don't listen to client signals after we get destroyed
2002-09-04 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_destroy): don't listen to client signals after we get destroyed Fixes #17036 svn path=/trunk/; revision=17976
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/gnome-cal.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 4e235e7456..32f28d36b3 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,12 @@
2002-09-04 JP Rosevear <jpr@ximian.com>
+ * gui/gnome-cal.c (gnome_calendar_destroy): don't listen to client
+ signals after we get destroyed
+
+ Fixes #17036
+
+2002-09-04 JP Rosevear <jpr@ximian.com>
+
* gui/dialogs/event-editor.c (event_editor_send_comp): bail out if
we couldn't send the cancel
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index a94dd0e659..bbc85bf983 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -970,11 +970,13 @@ gnome_calendar_destroy (GtkObject *object)
}
if (priv->client) {
+ gtk_signal_disconnect_by_data (GTK_OBJECT (priv->client), gcal);
gtk_object_unref (GTK_OBJECT (priv->client));
priv->client = NULL;
}
if (priv->task_pad_client) {
+ gtk_signal_disconnect_by_data (GTK_OBJECT (priv->task_pad_client), gcal);
gtk_object_unref (GTK_OBJECT (priv->task_pad_client));
priv->task_pad_client = NULL;
}