diff options
author | JP Rosevear <jpr@ximian.com> | 2002-09-05 04:27:38 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2002-09-05 04:27:38 +0800 |
commit | 2289bebe82d32bb2390e3218a6dc9c07981540c7 (patch) | |
tree | 98fb84005de564e89c168f5474b228765f812af8 /calendar/gui | |
parent | e707e15af3e4a1bd5493820305bd667e42b32b9b (diff) | |
download | gsoc2013-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/gui')
-rw-r--r-- | calendar/gui/gnome-cal.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |