aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution
diff options
context:
space:
mode:
authorJason Leach <jleach@ximian.com>2001-08-13 22:45:38 +0800
committerJacob Leach <jleach@src.gnome.org>2001-08-13 22:45:38 +0800
commit99a9e24304f87ad01a23d670d03644c924a8f121 (patch)
tree602ff2bb85b8a33a0f583473beb5789bc11b9904 /my-evolution
parenteaef85763e0fb171e387cf62ee0016e81838c597 (diff)
downloadgsoc2013-evolution-99a9e24304f87ad01a23d670d03644c924a8f121.tar
gsoc2013-evolution-99a9e24304f87ad01a23d670d03644c924a8f121.tar.gz
gsoc2013-evolution-99a9e24304f87ad01a23d670d03644c924a8f121.tar.bz2
gsoc2013-evolution-99a9e24304f87ad01a23d670d03644c924a8f121.tar.lz
gsoc2013-evolution-99a9e24304f87ad01a23d670d03644c924a8f121.tar.xz
gsoc2013-evolution-99a9e24304f87ad01a23d670d03644c924a8f121.tar.zst
gsoc2013-evolution-99a9e24304f87ad01a23d670d03644c924a8f121.zip
Disconnect our callbacks when we are freeing the ESummaryMail. Fixes
2001-08-13 Jason Leach <jleach@ximian.com> * e-summary-mail.c (e_summary_mail_free): Disconnect our callbacks when we are freeing the ESummaryMail. Fixes #6712. svn path=/trunk/; revision=11941
Diffstat (limited to 'my-evolution')
-rw-r--r--my-evolution/ChangeLog9
-rw-r--r--my-evolution/e-summary-mail.c7
2 files changed, 14 insertions, 2 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index cdc488ae10..76a5ac8236 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,9 +1,15 @@
+2001-08-13 Jason Leach <jleach@ximian.com>
+
+ * e-summary-mail.c (e_summary_mail_free): Disconnect our callbacks
+ when we are freeing the ESummaryMail. Fixes #6712.
+
2001-08-09 Anna Marie Dirks <anna@ximian.com>
+
* my-evolution-html.h : added more padding between the vertical
spacer and the icons for the mail/appointments/tasks summaries.
-
2001-08-09 Anna Marie Dirks <anna@ximian.com>
+
* my-evolution.glade : added accelerators to all useful widgets
in this file such that this dialog can now be fully navigated from
the keyboard.
@@ -13,7 +19,6 @@
to use glade to define and change the keyboard accelerators, instead
of trying to do this in the c code.
-
2001-08-06 Damon Chaplin <damon@ximian.com>
* e-summary-tasks.c (sort_uids):
diff --git a/my-evolution/e-summary-mail.c b/my-evolution/e-summary-mail.c
index 2efb739f3e..81397e6498 100644
--- a/my-evolution/e-summary-mail.c
+++ b/my-evolution/e-summary-mail.c
@@ -532,6 +532,13 @@ e_summary_mail_free (ESummary *summary)
g_free (mail->html);
+ gtk_signal_disconnect_by_func (GTK_OBJECT (mail->storage_listener),
+ GTK_SIGNAL_FUNC (new_folder_cb), summary);
+ gtk_signal_disconnect_by_func (GTK_OBJECT (mail->storage_listener),
+ GTK_SIGNAL_FUNC (remove_folder_cb), summary);
+ gtk_signal_disconnect_by_func (GTK_OBJECT (mail->storage_listener),
+ GTK_SIGNAL_FUNC (update_folder_cb), summary);
+
g_free (mail);
summary->mail = NULL;
}