aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/main.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-06-25 06:53:14 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-06-25 06:53:14 +0800
commit2c1887f5fed391efb16a1f5084a5a9016bd73f32 (patch)
tree9a80f1a619a759667b95ec2f3e642200417e4911 /calendar/gui/main.c
parent1965d493f225953fd8b8b7fbcee599c5fd78b8bf (diff)
downloadgsoc2013-evolution-2c1887f5fed391efb16a1f5084a5a9016bd73f32.tar.gz
gsoc2013-evolution-2c1887f5fed391efb16a1f5084a5a9016bd73f32.tar.zst
gsoc2013-evolution-2c1887f5fed391efb16a1f5084a5a9016bd73f32.zip
Converted to use BonoboXObject.
2001-06-24 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm-notify.c: Converted to use BonoboXObject. * gui/gnome-cal.c (gnome_calendar_open): Ask the alarm notification service to add the calendar and tasks URIs. (add_alarms): New function. * gui/alarm-notify/notify-main.c (main): Doh, fixed typo in the OAFIID. (main): Initialize and shut down gnome-vfs. * gui/Makefile.am (IDLS): Added evolution-calendar.idl, sigh. (evolution_calendar_SOURCES): Added the files generated from the IDL. * gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): New function used when an alarm is triggered. * gui/dialogs/Makefile.am: Removed the alarm-notify-dialog files; they are now in gui/alarm-notify. * gui/alarm-notify/Makefile.am: Added the alarm-notify-dialog files. * pcs/cal.c (cal_forget_password): This was incorrectly named cal_client_forget_password(); renamed it. * gui/main.c (main): Initialize and shut down gnome-vfs. svn path=/trunk/; revision=10453
Diffstat (limited to 'calendar/gui/main.c')
-rw-r--r--calendar/gui/main.c7
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;
}