diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/pcs/cal.c | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index d5a73eaedc..f77b8b1bd7 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2002-04-22 Rodrigo Moya <rodrigo@ximian.com> + + * pcs/cal.c (impl_Cal_get_alarms_in_range): raise an exception if the + backend's method returns NULL, since we can't send a NULL pointer to + ORBit. + 2002-04-19 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: Collapsed notebook into two pages diff --git a/calendar/pcs/cal.c b/calendar/pcs/cal.c index 2944563163..5225b5680e 100644 --- a/calendar/pcs/cal.c +++ b/calendar/pcs/cal.c @@ -337,6 +337,11 @@ impl_Cal_get_alarms_in_range (PortableServer_Servant servant, return NULL; } + if (!seq) { + bonobo_exception_set (ev, ex_GNOME_Evolution_Calendar_Cal_NotFound); + return NULL; + } + return seq; } |