aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-04-22 09:15:42 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-22 09:15:42 +0800
commit1e77e73903d1604ed8b46c9979ef2d948c46383c (patch)
treef577617200ca81a52ed6d50ee45ab8ac92149c08 /calendar/gui/gnome-cal.c
parent45abc2cbefa6d1dfafeb6a8351c35d5c841f87c8 (diff)
downloadgsoc2013-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/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c3
1 files changed, 2 insertions, 1 deletions
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);