diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-11-17 21:13:15 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-11-17 21:13:15 +0800 |
commit | 000e2ade56eb86a150a5a33e37bb685592e30186 (patch) | |
tree | 3b4c9b7e8e1283e3cf9bd1f554cc24cebbafedd7 /calendar/gui/alarm-notify/alarm-notify.h | |
parent | 6ac2fee6bcda6f8d2db7e0187d5a4216d603e0c3 (diff) | |
download | gsoc2013-evolution-000e2ade56eb86a150a5a33e37bb685592e30186.tar gsoc2013-evolution-000e2ade56eb86a150a5a33e37bb685592e30186.tar.gz gsoc2013-evolution-000e2ade56eb86a150a5a33e37bb685592e30186.tar.bz2 gsoc2013-evolution-000e2ade56eb86a150a5a33e37bb685592e30186.tar.lz gsoc2013-evolution-000e2ade56eb86a150a5a33e37bb685592e30186.tar.xz 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/alarm-notify/alarm-notify.h')
-rw-r--r-- | calendar/gui/alarm-notify/alarm-notify.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/calendar/gui/alarm-notify/alarm-notify.h b/calendar/gui/alarm-notify/alarm-notify.h index f3157000c0..418ae23878 100644 --- a/calendar/gui/alarm-notify/alarm-notify.h +++ b/calendar/gui/alarm-notify/alarm-notify.h @@ -22,8 +22,7 @@ #ifndef ALARM_NOTIFY_H #define ALARM_NOTIFY_H -#include <bonobo/bonobo-object.h> -#include "evolution-calendar.h" +#include <glib-object.h> @@ -40,24 +39,22 @@ typedef struct _AlarmNotifyClass AlarmNotifyClass; typedef struct _AlarmNotifyPrivate AlarmNotifyPrivate; struct _AlarmNotify { - BonoboObject xobject; + GObject object; /* Private data */ AlarmNotifyPrivate *priv; }; struct _AlarmNotifyClass { - BonoboObjectClass parent_class; - - POA_GNOME_Evolution_Calendar_AlarmNotify__epv epv; + GObjectClass parent_class; }; GType alarm_notify_get_type (void); AlarmNotify *alarm_notify_new (void); -void alarm_notify_add_calendar (AlarmNotify *an, const char *str_uri, gboolean load_afterwards, - CORBA_Environment *ev); +void alarm_notify_add_calendar (AlarmNotify *an, const char *str_uri, gboolean load_afterwards); +void alarm_notify_remove_calendar (AlarmNotify *an, const char *str_uri); |