diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-10-16 07:12:29 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-10-16 07:12:29 +0800 |
commit | 4bcda57628342b0015417c5cf9c2932e1f8e8f54 (patch) | |
tree | 640c700953e5d79fa259a2e32eb0356aafc0bd0c /mail/folder-browser.c | |
parent | ea2f6819c033b50ca2723a28bc9231c15a5c1241 (diff) | |
download | gsoc2013-evolution-4bcda57628342b0015417c5cf9c2932e1f8e8f54.tar gsoc2013-evolution-4bcda57628342b0015417c5cf9c2932e1f8e8f54.tar.gz gsoc2013-evolution-4bcda57628342b0015417c5cf9c2932e1f8e8f54.tar.bz2 gsoc2013-evolution-4bcda57628342b0015417c5cf9c2932e1f8e8f54.tar.lz gsoc2013-evolution-4bcda57628342b0015417c5cf9c2932e1f8e8f54.tar.xz gsoc2013-evolution-4bcda57628342b0015417c5cf9c2932e1f8e8f54.tar.zst gsoc2013-evolution-4bcda57628342b0015417c5cf9c2932e1f8e8f54.zip |
Remove the mark_seen timeout.
2001-10-15 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (folder_browser_destroy): Remove the mark_seen
timeout.
svn path=/trunk/; revision=13689
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 11 |
1 files changed, 8 insertions, 3 deletions
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; |