aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-browser.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-07-23 15:46:01 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-07-23 15:46:01 +0800
commit35949e810e315c1f6e0d540cb773f14c5f9bee5d (patch)
treee121f42f64ba6536f51d116c9edb5abc7ed2aa25 /mail/message-browser.c
parent00ca525cafde7f8d4d9c347f68cf0972e2a5e2d0 (diff)
downloadgsoc2013-evolution-35949e810e315c1f6e0d540cb773f14c5f9bee5d.tar.gz
gsoc2013-evolution-35949e810e315c1f6e0d540cb773f14c5f9bee5d.tar.zst
gsoc2013-evolution-35949e810e315c1f6e0d540cb773f14c5f9bee5d.zip
Disconnect from folderbroser signals when we unref it, so we dont get
2002-07-23 Not Zed <NotZed@Ximian.com> * message-browser.c (message_browser_destroy): Disconnect from folderbroser signals when we unref it, so we dont get signals later on if someone else has a ref on it (causing crash). svn path=/trunk/; revision=17543
Diffstat (limited to 'mail/message-browser.c')
-rw-r--r--mail/message-browser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/message-browser.c b/mail/message-browser.c
index 01e6fc1d1c..12dace6e88 100644
--- a/mail/message-browser.c
+++ b/mail/message-browser.c
@@ -67,6 +67,7 @@ message_browser_destroy (GtkObject *object)
message_browser = MESSAGE_BROWSER (object);
+ gtk_signal_disconnect_by_data((GtkObject *)message_browser->fb, message_browser);
gtk_object_unref (GTK_OBJECT (message_browser->fb));
if (GTK_OBJECT_CLASS (message_browser_parent_class)->destroy)