diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-03 05:00:59 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-03 05:00:59 +0800 |
commit | 2ff4c25c6c79ea6bcb58a155d1e60e6a0eec9e6f (patch) | |
tree | c02002308eb47968fb985416eeeb3099d85281f3 /calendar/gncal-day-view.c | |
parent | f6963100c2509175cbd22b1556273ddbc0dd4e7d (diff) | |
download | gsoc2013-evolution-2ff4c25c6c79ea6bcb58a155d1e60e6a0eec9e6f.tar.gz gsoc2013-evolution-2ff4c25c6c79ea6bcb58a155d1e60e6a0eec9e6f.tar.zst gsoc2013-evolution-2ff4c25c6c79ea6bcb58a155d1e60e6a0eec9e6f.zip |
Various time fixes; lib fixes; cache fixes -mig
svn path=/trunk/; revision=96
Diffstat (limited to 'calendar/gncal-day-view.c')
-rw-r--r-- | calendar/gncal-day-view.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gncal-day-view.c b/calendar/gncal-day-view.c index eef854322d..209b6be40a 100644 --- a/calendar/gncal-day-view.c +++ b/calendar/gncal-day-view.c @@ -113,6 +113,7 @@ gncal_day_view_new (GnomeCalendar *calendar, time_t lower, time_t upper) dview->lower = lower; dview->upper = upper; dview->events = 0; + gncal_day_view_update (dview); return GTK_WIDGET (dview); @@ -286,6 +287,9 @@ gncal_day_view_update (GncalDayView *dview) g_return_if_fail (dview != NULL); g_return_if_fail (GNCAL_IS_DAY_VIEW (dview)); + if (!dview->calendar->cal) + return; + if (dview->day_str) g_free (dview->day_str); |