aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-06 07:04:33 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-06 07:04:33 +0800
commitde4c391ec2eba36667a8ed7622f57f1877dda934 (patch)
tree9b4a8f2302c558089d70722f4be2e2164962a613 /mail/component-factory.c
parent56ed3ed3b9fd94ed34c92aa6bbcd26bb56208595 (diff)
downloadgsoc2013-evolution-de4c391ec2eba36667a8ed7622f57f1877dda934.tar.gz
gsoc2013-evolution-de4c391ec2eba36667a8ed7622f57f1877dda934.tar.zst
gsoc2013-evolution-de4c391ec2eba36667a8ed7622f57f1877dda934.zip
Adjust the default_account index correctly.
2001-09-05 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_remove_account): Adjust the default_account index correctly. 2001-09-05 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_accounts): Added a g_assert to make sure that config wasn't NULL. This is meant to help debug bug #4911 and friends. * component-factory.c (owner_set_cb): Do not mail_config_init() here as we've already called this in main() in main.c. svn path=/trunk/; revision=12640
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index a66200f5b5..8dbf22fe1b 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -633,8 +633,7 @@ owner_set_cb (EvolutionShellComponent *shell_component,
evolution_dir = g_strdup (evolution_homedir);
mail_session_init ();
- mail_config_init ();
-
+
storages_hash = g_hash_table_new (NULL, NULL);
vfolder_create_storage (shell_component);
@@ -648,7 +647,7 @@ owner_set_cb (EvolutionShellComponent *shell_component,
news = mail_config_get_news ();
mail_load_storages (corba_shell, news, FALSE);
#endif
-
+
mail_local_storage_startup (shell_client, evolution_dir);
mail_importer_init (shell_client);