[evolution] Bug #656258 - Critical runtime warning on comp-editor close



commit 2ffc7c943350675d9ee5f6862cb97aa87f0093e4
Author: Milan Crha <mcrha redhat com>
Date:   Mon Aug 15 19:40:00 2011 +0200

    Bug #656258 - Critical runtime warning on comp-editor close

 calendar/gui/dialogs/comp-editor.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 55980cb..c94b2f5 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. */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]