aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
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:14:57 +0800
commit48751b61d6338ae4ad5cde25e5d305e60e5ba0b5 (patch)
tree272e02649af11bbe22813fdcf182bf337cc7cfb9 /calendar
parent6bfa102c24f3e80c70d4dba665020f40d3d65142 (diff)
downloadgsoc2013-evolution-48751b61d6338ae4ad5cde25e5d305e60e5ba0b5.tar
gsoc2013-evolution-48751b61d6338ae4ad5cde25e5d305e60e5ba0b5.tar.gz
gsoc2013-evolution-48751b61d6338ae4ad5cde25e5d305e60e5ba0b5.tar.bz2
gsoc2013-evolution-48751b61d6338ae4ad5cde25e5d305e60e5ba0b5.tar.lz
gsoc2013-evolution-48751b61d6338ae4ad5cde25e5d305e60e5ba0b5.tar.xz
gsoc2013-evolution-48751b61d6338ae4ad5cde25e5d305e60e5ba0b5.tar.zst
gsoc2013-evolution-48751b61d6338ae4ad5cde25e5d305e60e5ba0b5.zip
Bug 620150 - EventEditor: Disconnect signal handlers before disposing model
Diffstat (limited to 'calendar')
-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 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;
}