aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/calendar/ea-calendar-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'a11y/calendar/ea-calendar-helpers.c')
-rw-r--r--a11y/calendar/ea-calendar-helpers.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/a11y/calendar/ea-calendar-helpers.c b/a11y/calendar/ea-calendar-helpers.c
index f7e4353fa8..caf1913829 100644
--- a/a11y/calendar/ea-calendar-helpers.c
+++ b/a11y/calendar/ea-calendar-helpers.c
@@ -152,8 +152,7 @@ ea_calendar_helpers_get_cal_view_event_from (GnomeCanvasItem *canvas_item)
cal_view_event = (ECalendarViewEvent *)week_view_event;
}
else {
- g_assert_not_reached ();
- return NULL;
+ g_return_val_if_reached (NULL);
}
return cal_view_event;
}