aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/main.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-11-17 21:13:15 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-11-17 21:13:15 +0800
commit000e2ade56eb86a150a5a33e37bb685592e30186 (patch)
tree3b4c9b7e8e1283e3cf9bd1f554cc24cebbafedd7 /calendar/gui/main.c
parent6ac2fee6bcda6f8d2db7e0187d5a4216d603e0c3 (diff)
downloadgsoc2013-evolution-000e2ade56eb86a150a5a33e37bb685592e30186.tar.gz
gsoc2013-evolution-000e2ade56eb86a150a5a33e37bb685592e30186.tar.zst
gsoc2013-evolution-000e2ade56eb86a150a5a33e37bb685592e30186.zip
remove the AlarmNotify service, no more need for it, since the alarm
2003-11-17 Rodrigo Moya <rodrigo@ximian.com> * 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
Diffstat (limited to 'calendar/gui/main.c')
-rw-r--r--calendar/gui/main.c2
1 files changed, 1 insertions, 1 deletions
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 */