aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/component-factory.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 7a9fe352a6..4eb3c0d1ac 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-03-19 Jeffrey Stedfast <fejj@ximian.com>
+ * component-factory.c (owner_unset_cb): Call
+ unref_standard_folders() here instead.
+
* folder-browser-factory.c: Add Resend Message menu item.
* folder-browser.c (on_right_click): Add resend to the right-click
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 8aa12b1e7d..c6fb7ec667 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -231,8 +231,6 @@ owner_set_cb (EvolutionShellComponent *shell_component,
g_free (uri);
}
- g_atexit (unref_standard_folders);
-
mail_session_enable_interaction (TRUE);
mail_autoreceive_setup ();
@@ -265,6 +263,8 @@ idle_quit (gpointer user_data)
static void
owner_unset_cb (EvolutionShellComponent *shell_component, gpointer user_data)
{
+ unref_standard_folders ();
+
g_idle_add_full (G_PRIORITY_LOW, idle_quit, NULL, NULL);
}