diff options
author | JP Rosevear <jpr@ximian.com> | 2001-09-27 00:25:25 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-09-27 00:25:25 +0800 |
commit | 568c0dcc4bf02c397bf0080e3baa3f3ced81d73c (patch) | |
tree | 54a361a80a6ff483520e017439f6814fd05c43fd /calendar | |
parent | 7bef79ae12fa4adff92bc2ee08c885c5355642c3 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index b3aee4978c..10d997bcfe 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2001-09-26 JP Rosevear <jpr@ximian.com> + + * gui/dialogs/comp-editor.c (comp_editor_destroy): disconnect + signals first thing + 2001-09-26 Dan Winship <danw@ximian.com> * gui/Makefile.am (evolution_calendar_LDFLAGS): Add 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; |