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 d0172be328..d7a52c9a6d 100644
--- a/addressbook/gui/component/addressbook-factory.c
+++ b/addressbook/gui/component/addressbook-factory.c
@@ -15,6 +15,7 @@
#include <libgnomeui/gnome-init.h>
#include <liboaf/liboaf.h>
#include <bonobo/bonobo-main.h>
+#include <libgnomevfs/gnome-vfs-init.h>
#include <glade/glade.h>
#include <gal/widgets/e-cursors.h>
#include <e-util/e-passwords.h>
@@ -65,6 +66,9 @@ main (int argc, char **argv)
init_bonobo (argc, argv);
+ if (!gnome_vfs_init ())
+ g_error (_("Could not initialize gnome-vfs"));
+
/* FIXME: Messy names here. This file should be `main.c'. `addressbook.c' should
be `addressbook-control-factory.c' and the functions should be called
`addressbook_control_factory_something()'. And `addressbook-component.c'
@@ -88,7 +92,7 @@ main (int argc, char **argv)
g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING);
#endif
- g_thread_init (NULL);
+ /*g_thread_init (NULL);*/
camel_type_init ();
bonobo_main ();