aboutsummaryrefslogtreecommitdiffstats
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
parent00ca525cafde7f8d4d9c347f68cf0972e2a5e2d0 (diff)
downloadgsoc2013-evolution-35949e810e315c1f6e0d540cb773f14c5f9bee5d.tar
gsoc2013-evolution-35949e810e315c1f6e0d540cb773f14c5f9bee5d.tar.gz
gsoc2013-evolution-35949e810e315c1f6e0d540cb773f14c5f9bee5d.tar.bz2
gsoc2013-evolution-35949e810e315c1f6e0d540cb773f14c5f9bee5d.tar.lz
gsoc2013-evolution-35949e810e315c1f6e0d540cb773f14c5f9bee5d.tar.xz
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
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/message-browser.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 18b383cc3d..bd49c26a81 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+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).
+
2002-07-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_signature_run_script): Check to make
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)