diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-22 09:15:42 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-22 09:15:42 +0800 |
commit | 1e77e73903d1604ed8b46c9979ef2d948c46383c (patch) | |
tree | f577617200ca81a52ed6d50ee45ab8ac92149c08 /calendar/gnome-cal.c | |
parent | 45abc2cbefa6d1dfafeb6a8351c35d5c841f87c8 (diff) | |
download | gsoc2013-evolution-1e77e73903d1604ed8b46c9979ef2d948c46383c.tar gsoc2013-evolution-1e77e73903d1604ed8b46c9979ef2d948c46383c.tar.gz gsoc2013-evolution-1e77e73903d1604ed8b46c9979ef2d948c46383c.tar.bz2 gsoc2013-evolution-1e77e73903d1604ed8b46c9979ef2d948c46383c.tar.lz gsoc2013-evolution-1e77e73903d1604ed8b46c9979ef2d948c46383c.tar.xz gsoc2013-evolution-1e77e73903d1604ed8b46c9979ef2d948c46383c.tar.zst gsoc2013-evolution-1e77e73903d1604ed8b46c9979ef2d948c46383c.zip |
Small fix for goto-day-year computation -mig
svn path=/trunk/; revision=179
Diffstat (limited to 'calendar/gnome-cal.c')
-rw-r--r-- | calendar/gnome-cal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gnome-cal.c b/calendar/gnome-cal.c index a71e7fb343..e1c300071d 100644 --- a/calendar/gnome-cal.c +++ b/calendar/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); |