aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/idl
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-01-25 16:06:48 +0800
committerArturo Espinosa <unammx@src.gnome.org>2000-01-25 16:06:48 +0800
commited7345eec736a39e3e37a4e76a0bdba7157270b7 (patch)
treef14cc2a91007ab3c8c8b6d44932aa3b7c1ead577 /calendar/idl
parentfd4379ff20fe9c9e3b4f4028095b9659687002ff (diff)
downloadgsoc2013-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.idl8
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);
};
};