From 99a9e24304f87ad01a23d670d03644c924a8f121 Mon Sep 17 00:00:00 2001 From: Jason Leach Date: Mon, 13 Aug 2001 14:45:38 +0000 Subject: Disconnect our callbacks when we are freeing the ESummaryMail. Fixes 2001-08-13 Jason Leach * e-summary-mail.c (e_summary_mail_free): Disconnect our callbacks when we are freeing the ESummaryMail. Fixes #6712. svn path=/trunk/; revision=11941 --- my-evolution/ChangeLog | 9 +++++++-- my-evolution/e-summary-mail.c | 7 +++++++ 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 + + * 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 + * 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 + * 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 * 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; } -- cgit v1.2.3