aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-06-06 03:14:57 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-06-06 03:15:51 +0800
commitfc47eaeb66a606d0e3241cc715800ea75d7e0921 (patch)
tree3d7f9629c58dae77b5f3dfd01883278603d43f59 /calendar/gui
parentb7a9c695900163e0029cc72ad7000c28e112cbed (diff)
downloadgsoc2013-evolution-fc47eaeb66a606d0e3241cc715800ea75d7e0921.tar.gz
gsoc2013-evolution-fc47eaeb66a606d0e3241cc715800ea75d7e0921.tar.zst
gsoc2013-evolution-fc47eaeb66a606d0e3241cc715800ea75d7e0921.zip
Bug 620150 - EventEditor: Disconnect signal handlers before disposing model
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/event-editor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c
index c40f2b05d0..e12ca49c26 100644
--- a/calendar/gui/dialogs/event-editor.c
+++ b/calendar/gui/dialogs/event-editor.c
@@ -357,6 +357,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;
}