diff options
-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; |