aboutsummaryrefslogtreecommitdiff
path: root/src/planner.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/planner.c')
-rw-r--r--src/planner.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/planner.c b/src/planner.c
index 124aeae..e826c2c 100644
--- a/src/planner.c
+++ b/src/planner.c
@@ -188,6 +188,8 @@ indicator_datetime_planner_get_appointments (IndicatorDatetimePlanner * self,
IndicatorDatetimePlannerClass * klass;
g_return_if_fail (INDICATOR_IS_DATETIME_PLANNER (self));
+ g_return_val_if_fail (begin != NULL, NULL);
+ g_return_val_if_fail (end != NULL, NULL);
klass = INDICATOR_DATETIME_PLANNER_GET_CLASS (self);
g_return_if_fail (klass->get_appointments != NULL);