aboutsummaryrefslogtreecommitdiff
path: root/src/planner.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-09-09 11:50:22 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-09-09 11:50:22 -0500
commit605e4b6391cb3f4f87e84ee63df9d50c60eea95c (patch)
treebf673742fac21e7ea293aa30894f01431b4ab5d7 /src/planner.c
parentecee96636e70894355aaee58675b1dbacd202ac9 (diff)
parentb7f625ed8003197cd9d0a81240aea944860c8dc3 (diff)
downloadayatana-indicator-datetime-605e4b6391cb3f4f87e84ee63df9d50c60eea95c.tar.gz
ayatana-indicator-datetime-605e4b6391cb3f4f87e84ee63df9d50c60eea95c.tar.bz2
ayatana-indicator-datetime-605e4b6391cb3f4f87e84ee63df9d50c60eea95c.zip
sync with trunk
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);