aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2001-01-09 04:51:24 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-09 04:51:24 +0800
commit875c9d02c44ae6a0b0c1485e7e61a9dd25c5add7 (patch)
tree2194c53dcb2b8a319b6799dc93d75d9eba5184c8 /mail/component-factory.c
parent6054c6897b77256c6a021280c123657429c02757 (diff)
downloadgsoc2013-evolution-875c9d02c44ae6a0b0c1485e7e61a9dd25c5add7.tar
gsoc2013-evolution-875c9d02c44ae6a0b0c1485e7e61a9dd25c5add7.tar.gz
gsoc2013-evolution-875c9d02c44ae6a0b0c1485e7e61a9dd25c5add7.tar.bz2
gsoc2013-evolution-875c9d02c44ae6a0b0c1485e7e61a9dd25c5add7.tar.lz
gsoc2013-evolution-875c9d02c44ae6a0b0c1485e7e61a9dd25c5add7.tar.xz
gsoc2013-evolution-875c9d02c44ae6a0b0c1485e7e61a9dd25c5add7.tar.zst
gsoc2013-evolution-875c9d02c44ae6a0b0c1485e7e61a9dd25c5add7.zip
Reverted mail-config changes temporarily until I get it working correctly.
2001-01-08 Jeffrey Stedfast <fejj@helixcode.com> * Makefile.am: * component-factory.c: * folder-browser-factory.c: * folder-browser.c: * mail-callbacks.c: * mail-config.[c,h]: * mail-display.c: * mail-format.c: * mail-tools.c: Reverted mail-config changes temporarily until I get it working correctly. svn path=/trunk/; revision=7305
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index d280388e58..f89a9dbc80 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -171,12 +171,12 @@ owner_set_cb (EvolutionShellComponent *shell_component,
const char *evolution_homedir,
gpointer user_data)
{
- GNOME_Evolution_Shell corba_shell;
GSList *sources;
+ GNOME_Evolution_Shell corba_shell;
int i;
g_print ("evolution-mail: Yeeeh! We have an owner!\n"); /* FIXME */
-
+
evolution_dir = g_strdup (evolution_homedir);
mail_session_init ();
mail_config_init ();
@@ -189,18 +189,15 @@ owner_set_cb (EvolutionShellComponent *shell_component,
sources = mail_config_get_sources ();
mail_load_storages (corba_shell, sources);
- /* only this one gets free'd because it's created on-the-fly */
- g_slist_free (sources);
-
- sources = (GSList *) mail_config_get_news ();
+ sources = mail_config_get_news ();
mail_load_storages (corba_shell, sources);
mail_local_storage_startup (shell_client, evolution_dir);
- for (i = 0; i < sizeof (standard_folders) / sizeof (standard_folders[0]); i++) {
+ for (i=0;i<sizeof(standard_folders)/sizeof(standard_folders[0]);i++) {
char *uri = g_strdup_printf ("file://%s/local/%s", evolution_dir, standard_folders[i].name);
- mail_msg_wait (mail_get_folder (uri, got_folder, standard_folders[i].folder));
- g_free (uri);
+ mail_msg_wait(mail_get_folder(uri, got_folder, standard_folders[i].folder));
+ g_free(uri);
}
mail_session_enable_interaction (TRUE);