diff options
Diffstat (limited to 'my-evolution/e-summary-mail.c')
-rw-r--r-- | my-evolution/e-summary-mail.c | 7 |
1 files changed, 7 insertions, 0 deletions
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; } |