From f8374109ac06f8c0528dcf27f214f26c5d2aaf8d Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Sun, 2 Sep 2007 18:44:00 +0000 Subject: ** Fix for bug #471791 (Move away from asserts to g_ret*) svn path=/trunk/; revision=34156 --- calendar/gui/weekday-picker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/weekday-picker.c') 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) -- cgit v1.2.3