diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-01-25 16:06:48 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 2000-01-25 16:06:48 +0800 |
commit | ed7345eec736a39e3e37a4e76a0bdba7157270b7 (patch) | |
tree | f14cc2a91007ab3c8c8b6d44932aa3b7c1ead577 /calendar/idl | |
parent | fd4379ff20fe9c9e3b4f4028095b9659687002ff (diff) | |
download | gsoc2013-evolution-ed7345eec736a39e3e37a4e76a0bdba7157270b7.tar.gz gsoc2013-evolution-ed7345eec736a39e3e37a4e76a0bdba7157270b7.tar.zst gsoc2013-evolution-ed7345eec736a39e3e37a4e76a0bdba7157270b7.zip |
Check that the listener is not nil and emit and exception if it is.
2000-01-25 Federico Mena Quintero <federico@helixcode.com>
* cal-factory.c (CalFactory_load): Check that the listener is not
nil and emit and exception if it is.
* gnome-calendar.idl (CalFactory::load CalFactory::create): Now
these raise the NilListener exception.
* tlacuache.c (calendar_notify): Error stub for alarms.
(alarm_defaults): Stub array.
(debug_alarms): Stub variable.
(main): Initialize gnome-vfs.
svn path=/trunk/; revision=1627
Diffstat (limited to 'calendar/idl')
-rw-r--r-- | calendar/idl/evolution-calendar.idl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/calendar/idl/evolution-calendar.idl b/calendar/idl/evolution-calendar.idl index 390dfa1531..5c39956170 100644 --- a/calendar/idl/evolution-calendar.idl +++ b/calendar/idl/evolution-calendar.idl @@ -56,11 +56,15 @@ module Calendar { /* A calendar factory, can load and create calendars */ interface CalFactory : Unknown { + exception NilListener {}; + /* Load a calendar from an URI */ - void load (in string uri, in Listener listener); + void load (in string uri, in Listener listener) + raises (NilListener); /* Create a new calendar at the specified URI */ - void create (in string uri, in Listener listener); + void create (in string uri, in Listener listener) + raises (NilListener); }; }; |