aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-20 04:19:41 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-20 04:19:41 +0800
commitb8bb7dd7ed3344a93fd72ace13197ca11da18fa8 (patch)
tree3d67fef6fc036438d7dfdcb4666c6e55ad55545b /mail
parentb54245206418ca079d14c2d01baead4328eed11b (diff)
downloadgsoc2013-evolution-b8bb7dd7ed3344a93fd72ace13197ca11da18fa8.tar.gz
gsoc2013-evolution-b8bb7dd7ed3344a93fd72ace13197ca11da18fa8.tar.zst
gsoc2013-evolution-b8bb7dd7ed3344a93fd72ace13197ca11da18fa8.zip
Call unref_standard_folders() here instead.
2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_unset_cb): Call unref_standard_folders() here instead. svn path=/trunk/; revision=8827
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);
}