From 48751b61d6338ae4ad5cde25e5d305e60e5ba0b5 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 5 Jun 2010 15:14:57 -0400 Subject: Bug 620150 - EventEditor: Disconnect signal handlers before disposing model --- calendar/gui/dialogs/event-editor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c index 96242c0bda..f055884d0d 100644 --- a/calendar/gui/dialogs/event-editor.c +++ b/calendar/gui/dialogs/event-editor.c @@ -408,6 +408,8 @@ event_editor_dispose (GObject *object) } if (priv->model) { + g_signal_handlers_disconnect_by_func ( + priv->model, event_editor_model_changed_cb, object); g_object_unref (priv->model); priv->model = NULL; } -- cgit