From 4bcda57628342b0015417c5cf9c2932e1f8e8f54 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 15 Oct 2001 23:12:29 +0000 Subject: Remove the mark_seen timeout. 2001-10-15 Jeffrey Stedfast * folder-browser.c (folder_browser_destroy): Remove the mark_seen timeout. svn path=/trunk/; revision=13689 --- mail/folder-browser.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'mail/folder-browser.c') diff --git a/mail/folder-browser.c b/mail/folder-browser.c index ff83d029f0..d68ccacae9 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -177,6 +177,11 @@ folder_browser_destroy (GtkObject *object) folder_browser = FOLDER_BROWSER (object); + if (folder_browser->seen_id) { + gtk_timeout_remove (folder_browser->seen_id); + folder_browser->seen_id = 0; + } + if (folder_browser->message_list) { gtk_widget_destroy (GTK_WIDGET (folder_browser->message_list)); folder_browser->message_list = NULL; @@ -186,7 +191,7 @@ folder_browser_destroy (GtkObject *object) gtk_widget_destroy (GTK_WIDGET (folder_browser->mail_display)); folder_browser->mail_display = NULL; } - + folder_browser_parent_class->destroy (object); } @@ -792,8 +797,8 @@ got_folder(char *uri, CamelFolder *folder, void *data) { FolderBrowser *fb = data; - d(printf ("got folder '%s' = %p\n", uri, folder)); - + d(printf ("got folder '%s' = %p, previous folder was %p\n", uri, folder, fb->folder)); + if (fb->message_list == NULL) goto done; -- cgit