diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-10-25 08:37:00 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-10-25 08:37:00 +0800 |
commit | 0f9a7b1c32e4546e4990c40a27be55a8950e4c7c (patch) | |
tree | a2342706fe728746e6d2ca3c759dcb67f9b47860 /addressbook/gui/component/addressbook-factory.c | |
parent | d9545bc20c23425f71583e8966f64fdb5c613941 (diff) | |
download | gsoc2013-evolution-0f9a7b1c32e4546e4990c40a27be55a8950e4c7c.tar.gz gsoc2013-evolution-0f9a7b1c32e4546e4990c40a27be55a8950e4c7c.tar.zst gsoc2013-evolution-0f9a7b1c32e4546e4990c40a27be55a8950e4c7c.zip |
Initialize gnome-vfs.
2001-10-24 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook-factory.c (main): Initialize
gnome-vfs.
* gui/component/addressbook-component.c (xfer_file): Added.
(Copied from the calendar.)
(xfer_folder): Fixed to allow renaming of contact folders.
svn path=/trunk/; revision=14080
Diffstat (limited to 'addressbook/gui/component/addressbook-factory.c')
-rw-r--r-- | addressbook/gui/component/addressbook-factory.c | 6 |
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 (); |