aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
author1 <NotZed@Ximian.com>2001-10-22 04:28:58 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-22 04:28:58 +0800
commita02822a94ed38a72f24bc3ea61fdc42cd2ffcb62 (patch)
tree4bd56a134ef4c5a34fa15ff535fe45a38c3566de /mail/component-factory.c
parentc435267723233da063f2ffdbc472a687cbc16658 (diff)
downloadgsoc2013-evolution-a02822a94ed38a72f24bc3ea61fdc42cd2ffcb62.tar
gsoc2013-evolution-a02822a94ed38a72f24bc3ea61fdc42cd2ffcb62.tar.gz
gsoc2013-evolution-a02822a94ed38a72f24bc3ea61fdc42cd2ffcb62.tar.bz2
gsoc2013-evolution-a02822a94ed38a72f24bc3ea61fdc42cd2ffcb62.tar.lz
gsoc2013-evolution-a02822a94ed38a72f24bc3ea61fdc42cd2ffcb62.tar.xz
gsoc2013-evolution-a02822a94ed38a72f24bc3ea61fdc42cd2ffcb62.tar.zst
gsoc2013-evolution-a02822a94ed38a72f24bc3ea61fdc42cd2ffcb62.zip
Clear variables once done, for debugging. (mail_vfolder_add_uri,
2001-10-21 <NotZed@Ximian.com> * mail-vfolder.c (mail_vfolder_shutdown): Clear variables once done, for debugging. (mail_vfolder_add_uri, mail_vfolder_delete_uri): Dont do anything if we're shutdown (context == NULL). * component-factory.c (idle_quit): Move mail_vfolder_shutdown here, it should be one of the last things shutdown. * mail-format.c (handle_text_plain): Dont use (if (!p++), and then check p!= later, since its now 1, oops. Fixes #13106, thought it was a start of uuencoded stuff! * folder-browser.c (on_right_click): Escape _'s before adding them to menu from mailing list name, also remove some dead code that someone forgot to remove when refactoring. #11307. (folder_browser_is_drafts): Use the store's uri_cmp function to compare to the drafts uri's. (folder_browser_is_sent): Same. Slight cleanup for #11351. svn path=/trunk/; revision=13856
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 8ec5fc924b..7962dcdd11 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -799,6 +799,8 @@ idle_quit (gpointer user_data)
g_hash_table_foreach (storages_hash, free_storage, NULL);
g_hash_table_destroy (storages_hash);
+ mail_vfolder_shutdown ();
+
gtk_main_quit ();
return FALSE;
@@ -832,9 +834,7 @@ owner_unset_cb (EvolutionShellComponent *shell_component, gpointer user_data)
empty_trash (NULL, NULL, NULL);
mail_msg_wait_all();
-
- mail_vfolder_shutdown ();
-
+
unref_standard_folders ();
mail_importer_uninit ();