From ed7345eec736a39e3e37a4e76a0bdba7157270b7 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 25 Jan 2000 08:06:48 +0000 Subject: Check that the listener is not nil and emit and exception if it is. 2000-01-25 Federico Mena Quintero * 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 --- calendar/evolution-calendar.idl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'calendar/evolution-calendar.idl') diff --git a/calendar/evolution-calendar.idl b/calendar/evolution-calendar.idl index 390dfa1531..5c39956170 100644 --- a/calendar/evolution-calendar.idl +++ b/calendar/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); }; }; -- cgit v1.2.3