aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view-event-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-week-view-event-item.c')
-rw-r--r--calendar/gui/e-week-view-event-item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c
index 8a7bbb860a..e786d5a741 100644
--- a/calendar/gui/e-week-view-event-item.c
+++ b/calendar/gui/e-week-view-event-item.c
@@ -325,7 +325,7 @@ e_week_view_event_item_draw (GnomeCanvasItem *canvas_item,
draw_end = FALSE;
break;
default:
- g_assert_not_reached();
+ g_return_if_reached();
draw_start = FALSE;
draw_end = FALSE;
break;
@@ -981,7 +981,7 @@ e_week_view_event_item_draw (GnomeCanvasItem *canvas_item,
draw_end = FALSE;
break;
default:
- g_assert_not_reached();
+ g_return_if_reached ();
draw_start = FALSE;
draw_end = FALSE;
break;