diff options
Diffstat (limited to 'calendar/gui/main.c')
-rw-r--r-- | calendar/gui/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/calendar/gui/main.c b/calendar/gui/main.c index d13a16383f..8054bbb752 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -29,6 +29,7 @@ #include <libgnome/gnome-defs.h> #include <libgnome/gnome-i18n.h> #include <libgnomeui/gnome-init.h> +#include <libgnomevfs/gnome-vfs-init.h> #include <glade/glade.h> #include <liboaf/liboaf.h> @@ -64,6 +65,10 @@ main (int argc, char **argv) textdomain(PACKAGE); init_bonobo (argc, argv); + + if (!gnome_vfs_init ()) + g_error (_("Could not initialize gnome-vfs")); + glade_gnome_init (); alarm_init (); e_cursors_init (); @@ -85,5 +90,7 @@ main (int argc, char **argv) alarm_done (); calendar_config_write_on_exit (); + gnome_vfs_shutdown (); + return 0; } |