aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)