aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/weekday-picker.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/weekday-picker.c')
-rw-r--r--calendar/gui/weekday-picker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/weekday-picker.c b/calendar/gui/weekday-picker.c
index 54e204c493..cab6f9977d 100644
--- a/calendar/gui/weekday-picker.c
+++ b/calendar/gui/weekday-picker.c
@@ -185,7 +185,7 @@ day_event_cb (GnomeCanvasItem *item, GdkEvent *event, gpointer data)
if (priv->boxes[i] == item || priv->labels[i] == item)
break;
- g_assert (i != 7);
+ g_return_val_if_fail (i != 7, TRUE);
i += priv->week_start_day;
if (i >= 7)