From 1e77e73903d1604ed8b46c9979ef2d948c46383c Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Wed, 22 Apr 1998 01:15:42 +0000 Subject: Small fix for goto-day-year computation -mig svn path=/trunk/; revision=179 --- calendar/gui/gnome-cal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui/gnome-cal.c') diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index a71e7fb343..e1c300071d 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -74,7 +74,8 @@ void gnome_calendar_goto (GnomeCalendar *gcal, time_t new_time) { GtkWidget *current = get_current_page (gcal); - g_assert (new_time != -1); + + g_return_if_fail (new_time != -1); if (current == gcal->day_view) gncal_day_panel_set (GNCAL_DAY_PANEL (gcal->day_view), new_time); -- cgit