From 000e2ade56eb86a150a5a33e37bb685592e30186 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Mon, 17 Nov 2003 13:13:15 +0000 Subject: remove the AlarmNotify service, no more need for it, since the alarm 2003-11-17 Rodrigo Moya * idl/evolution-calendar.idl: remove the AlarmNotify service, no more need for it, since the alarm daemon will listen for changes on the GConf key. * gui/gnome-cal.c (add_alarms): removed function to talk to the alarm daemon. (client_cal_opened_cb): don't call add_alarms(). * gui/alarm-notify/alarm-notify.[ch]: made it a basic GObject. (AlarmNotify_addCalendar, AlarmNotify_removeCalendar): removed AlarmNotify interface implementation. (alarm_notify_class_init): no epv to initialize. (alarm_notify_remove_calendar): new function, copied from the CORBA method implementation. (alarm_notify_factory_fn): return NULL, since there is no objects that can be created via this factory now. * gui/alarm-notify/notify-main.c (main): now the factory is the alarm notification service itself. (load_calendars): no need to use exceptions here. * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in: now the factory is the alarm notification service itself. * gui/main.c (launch_alarm_daemon_cb): dont use the AlarmNotify CORBA types. svn path=/trunk/; revision=23384 --- calendar/gui/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/main.c') diff --git a/calendar/gui/main.c b/calendar/gui/main.c index 73b3705b3c..4c9fa25ba6 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -90,7 +90,7 @@ static gboolean launch_alarm_daemon_cb (gpointer data) { CORBA_Environment ev; - GNOME_Evolution_Calendar_AlarmNotify an; + CORBA_Object an; guint *idle_id = (guint *) data; /* remove the idle function */ -- cgit v1.2.3