aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-09-27 00:25:25 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-09-27 00:25:25 +0800
commit568c0dcc4bf02c397bf0080e3baa3f3ced81d73c (patch)
tree54a361a80a6ff483520e017439f6814fd05c43fd /calendar/gui
parent7bef79ae12fa4adff92bc2ee08c885c5355642c3 (diff)
downloadgsoc2013-evolution-568c0dcc4bf02c397bf0080e3baa3f3ced81d73c.tar.gz
gsoc2013-evolution-568c0dcc4bf02c397bf0080e3baa3f3ced81d73c.tar.zst
gsoc2013-evolution-568c0dcc4bf02c397bf0080e3baa3f3ced81d73c.zip
disconnect signals first thing
2001-09-26 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_destroy): disconnect signals first thing svn path=/trunk/; revision=13151
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/comp-editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index f88c6d2de6..dcec6bb251 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -248,6 +248,8 @@ comp_editor_destroy (GtkObject *object)
editor = COMP_EDITOR (object);
priv = editor->priv;
+ gtk_signal_disconnect_by_data (GTK_OBJECT (priv->client), editor);
+
if (priv->window) {
gtk_widget_destroy (priv->window);
priv->window = NULL;
@@ -258,8 +260,6 @@ comp_editor_destroy (GtkObject *object)
priv->comp = NULL;
}
- gtk_signal_disconnect_by_data (GTK_OBJECT (priv->client), editor);
-
g_free (priv);
editor->priv = NULL;