aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-view.c')
-rw-r--r--calendar/gui/calendar-view.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/gui/calendar-view.c b/calendar/gui/calendar-view.c
index ab2e92aa82..e75a81052b 100644
--- a/calendar/gui/calendar-view.c
+++ b/calendar/gui/calendar-view.c
@@ -175,8 +175,7 @@ calendar_view_get_type_code (GalView *view)
return "month_view";
default:
- g_assert_not_reached ();
- return NULL;
+ g_return_val_if_reached (NULL);
}
}