aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/pcs/cal.c')
-rw-r--r--calendar/pcs/cal.c5
1 files changed, 5 insertions, 0 deletions
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;
}