aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}