aboutsummaryrefslogtreecommitdiffstats
path: root/mail/main.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-14 07:31:06 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-14 07:31:06 +0800
commit2f96c6db974180f9a9e88b89386e599edb9b21d6 (patch)
treea1a564f1caab4ec113ce6d96f7da7519b5a27463 /mail/main.c
parent24cf25fc207e0fb0d6d4e64b4d60375b71874109 (diff)
downloadgsoc2013-evolution-2f96c6db974180f9a9e88b89386e599edb9b21d6.tar
gsoc2013-evolution-2f96c6db974180f9a9e88b89386e599edb9b21d6.tar.gz
gsoc2013-evolution-2f96c6db974180f9a9e88b89386e599edb9b21d6.tar.bz2
gsoc2013-evolution-2f96c6db974180f9a9e88b89386e599edb9b21d6.tar.lz
gsoc2013-evolution-2f96c6db974180f9a9e88b89386e599edb9b21d6.tar.xz
gsoc2013-evolution-2f96c6db974180f9a9e88b89386e599edb9b21d6.tar.zst
gsoc2013-evolution-2f96c6db974180f9a9e88b89386e599edb9b21d6.zip
Call camel_init with the evolution directory passed in. Also, abort if
2001-03-13 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_init): Call camel_init with the evolution directory passed in. Also, abort if camel cannot be initialized. * main.c (main): Shutdown camel. svn path=/trunk/; revision=8689
Diffstat (limited to 'mail/main.c')
-rw-r--r--mail/main.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/main.c b/mail/main.c
index 2551815213..fdc718c200 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -86,7 +86,7 @@ main (int argc, char *argv [])
bindtextdomain (PACKAGE, EVOLUTION_LOCALEDIR);
textdomain (PACKAGE);
- g_thread_init( NULL );
+ g_thread_init (NULL);
gnome_init_with_popt_table ("evolution-mail-component", VERSION,
argc, argv, oaf_popt_options, 0, NULL);
@@ -116,10 +116,10 @@ main (int argc, char *argv [])
glade_gnome_init ();
gnome_vfs_init ();
-
+
e_cursors_init ();
- mail_msg_init();
+ mail_msg_init ();
component_factory_init ();
evolution_composer_factory_init (composer_send_cb,
@@ -134,6 +134,8 @@ main (int argc, char *argv [])
bonobo_main ();
GDK_THREADS_LEAVE ();
+ camel_shutdown ();
+
mail_config_write_on_exit ();
return 0;