aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-04-03 05:00:59 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-03 05:00:59 +0800
commit2ff4c25c6c79ea6bcb58a155d1e60e6a0eec9e6f (patch)
treec02002308eb47968fb985416eeeb3099d85281f3 /calendar/gui
parentf6963100c2509175cbd22b1556273ddbc0dd4e7d (diff)
downloadgsoc2013-evolution-2ff4c25c6c79ea6bcb58a155d1e60e6a0eec9e6f.tar
gsoc2013-evolution-2ff4c25c6c79ea6bcb58a155d1e60e6a0eec9e6f.tar.gz
gsoc2013-evolution-2ff4c25c6c79ea6bcb58a155d1e60e6a0eec9e6f.tar.bz2
gsoc2013-evolution-2ff4c25c6c79ea6bcb58a155d1e60e6a0eec9e6f.tar.lz
gsoc2013-evolution-2ff4c25c6c79ea6bcb58a155d1e60e6a0eec9e6f.tar.xz
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/gui')
-rw-r--r--calendar/gui/gncal-day-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/gncal-day-view.c b/calendar/gui/gncal-day-view.c
index eef854322d..209b6be40a 100644
--- a/calendar/gui/gncal-day-view.c
+++ b/calendar/gui/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);