aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-08-16 01:40:00 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:08:50 +0800
commit48ff38256c978f179276a3fc0b86ebb059eaf915 (patch)
tree047611862534a9974b2fb82b118d205bea93f69a /calendar
parentdb2dbe5ecbe4791dc01acec818f79e8d869db3e5 (diff)
downloadgsoc2013-evolution-48ff38256c978f179276a3fc0b86ebb059eaf915.tar
gsoc2013-evolution-48ff38256c978f179276a3fc0b86ebb059eaf915.tar.gz
gsoc2013-evolution-48ff38256c978f179276a3fc0b86ebb059eaf915.tar.bz2
gsoc2013-evolution-48ff38256c978f179276a3fc0b86ebb059eaf915.tar.lz
gsoc2013-evolution-48ff38256c978f179276a3fc0b86ebb059eaf915.tar.xz
gsoc2013-evolution-48ff38256c978f179276a3fc0b86ebb059eaf915.tar.zst
gsoc2013-evolution-48ff38256c978f179276a3fc0b86ebb059eaf915.zip
Bug #656258 - Critical runtime warning on comp-editor close
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/dialogs/comp-editor.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 55980cbc9e..c94b2f5016 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -1577,6 +1577,13 @@ comp_editor_dispose (GObject *object)
priv->view = NULL;
}
+ if (priv->attachment_view) {
+ g_signal_handlers_disconnect_matched (G_OBJECT (e_attachment_view_get_store (E_ATTACHMENT_VIEW (priv->attachment_view))),
+ G_SIGNAL_MATCH_DATA,
+ 0, 0, NULL, NULL,
+ object);
+ }
+
/* We want to destroy the pages after the widgets get destroyed,
since they have lots of signal handlers connected to the widgets
with the pages as the data. */