aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/addressbook-factory.c')
-rw-r--r--addressbook/gui/component/addressbook-factory.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook-factory.c b/addressbook/gui/component/addressbook-factory.c
index 6a5e79066a..305751aefd 100644
--- a/addressbook/gui/component/addressbook-factory.c
+++ b/addressbook/gui/component/addressbook-factory.c
@@ -18,6 +18,8 @@
#include <glade/glade.h>
#include <gal/widgets/e-cursors.h>
+#include <camel/camel.h>
+
#ifdef GTKHTML_HAVE_GCONF
#include <gconf/gconf.h>
#endif
@@ -60,7 +62,6 @@ main (int argc, char **argv)
init_corba (&argc, argv);
-
init_bonobo (argc, argv);
/* FIXME: Messy names here. This file should be `main.c'. `addressbook.c' should
@@ -84,6 +85,9 @@ main (int argc, char **argv)
g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING);
#endif
+ g_thread_init (NULL);
+ camel_type_init ();
+
bonobo_main ();
return 0;