aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-mail.c
diff options
context:
space:
mode:
authorIain Holmes <iain@ximian.com>2001-10-27 07:15:19 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-10-27 07:15:19 +0800
commit0b5c3e9f8b92121454a5573f7c3d3467554e6916 (patch)
tree85f8d9b3d79f60708a012d06f5c02d1c06dbaa4a /my-evolution/e-summary-mail.c
parentc944779866017804bbeb94f9c81af4ffa0eef3ba (diff)
downloadgsoc2013-evolution-0b5c3e9f8b92121454a5573f7c3d3467554e6916.tar.gz
gsoc2013-evolution-0b5c3e9f8b92121454a5573f7c3d3467554e6916.tar.zst
gsoc2013-evolution-0b5c3e9f8b92121454a5573f7c3d3467554e6916.zip
NULL the handle after a failed open so the offline handler won't think
2001-10-26 Iain Holmes <iain@ximian.com> * e-summary-rdf.c (open_callback): NULL the handle after a failed open so the offline handler won't think they're still open. (e_summary_rdf_set_online): Cancel all the open connections when the summary goes offline. * e-summary-weather.c (open_callback): NULL the handle after a failed open so the offline handler won't think they're still open. (e_summary_weather_set_online): Cancel all the open connections when the summary goes offline. * e-summary.c (e_summary_set_online): Call the callback if it's not NULL. svn path=/trunk/; revision=14183
Diffstat (limited to 'my-evolution/e-summary-mail.c')
-rw-r--r--my-evolution/e-summary-mail.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/my-evolution/e-summary-mail.c b/my-evolution/e-summary-mail.c
index 149678b51d..27668ac198 100644
--- a/my-evolution/e-summary-mail.c
+++ b/my-evolution/e-summary-mail.c
@@ -564,6 +564,10 @@ e_summary_mail_free (ESummary *summary)
mail = summary->mail;
bonobo_object_release_unref (mail->folder_info, NULL);
+ mail->folder_info = CORBA_OBJECT_NIL;
+
+ gtk_signal_disconnect_by_func (GTK_OBJECT (mail->listener),
+ GTK_SIGNAL_FUNC (mail_change_notify), summary);
bonobo_object_unref (BONOBO_OBJECT (mail->listener));
g_hash_table_foreach (mail->folders, free_folder, NULL);