diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-04 11:29:36 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-04 11:29:36 +0800 |
commit | bacbb085895ae69e7f443cc39e04b686128a63a3 (patch) | |
tree | 63d7b824dc9827888fb1b77960e3971bcc390e25 /calendar/gui/gncal-week-view.c | |
parent | f4295ffe09c2994a93eff4d4c73505f2bc291a59 (diff) | |
download | gsoc2013-evolution-bacbb085895ae69e7f443cc39e04b686128a63a3.tar.gz gsoc2013-evolution-bacbb085895ae69e7f443cc39e04b686128a63a3.tar.zst gsoc2013-evolution-bacbb085895ae69e7f443cc39e04b686128a63a3.zip |
more and more fixes -mig
svn path=/trunk/; revision=104
Diffstat (limited to 'calendar/gui/gncal-week-view.c')
-rw-r--r-- | calendar/gui/gncal-week-view.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/gncal-week-view.c b/calendar/gui/gncal-week-view.c index f7d3222cfe..f837b3b2d8 100644 --- a/calendar/gui/gncal-week-view.c +++ b/calendar/gui/gncal-week-view.c @@ -151,7 +151,7 @@ gncal_week_view_set (GncalWeekView *wview, time_t start_of_week) /* Calendar */ - gtk_calendar_select_month (wview->gtk_calendar, tm.tm_mon + 1, tm.tm_year + 1900); + gtk_calendar_select_month (wview->gtk_calendar, tm.tm_mon, tm.tm_year + 1900); /* Day views */ @@ -159,6 +159,8 @@ gncal_week_view_set (GncalWeekView *wview, time_t start_of_week) tm.tm_mday++; day_end = mktime (&tm); + printf ("Boundary: "); + print_time_t (day_start); gncal_day_view_set_bounds (wview->days[i], day_start, day_end - 1); day_start = day_end; |