aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gncal-day-view.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-04-18 12:22:57 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-18 12:22:57 +0800
commitd4f4dc26fcc04d8020812444763a38049a04beff (patch)
tree0b2f43ed018b15e32abb9fe53b87a68c36e070ae /calendar/gncal-day-view.c
parentf1b08663ddff6432289ca4780bc823c96d471657 (diff)
downloadgsoc2013-evolution-d4f4dc26fcc04d8020812444763a38049a04beff.tar
gsoc2013-evolution-d4f4dc26fcc04d8020812444763a38049a04beff.tar.gz
gsoc2013-evolution-d4f4dc26fcc04d8020812444763a38049a04beff.tar.bz2
gsoc2013-evolution-d4f4dc26fcc04d8020812444763a38049a04beff.tar.lz
gsoc2013-evolution-d4f4dc26fcc04d8020812444763a38049a04beff.tar.xz
gsoc2013-evolution-d4f4dc26fcc04d8020812444763a38049a04beff.tar.zst
gsoc2013-evolution-d4f4dc26fcc04d8020812444763a38049a04beff.zip
Usability fixes -mig
svn path=/trunk/; revision=156
Diffstat (limited to 'calendar/gncal-day-view.c')
-rw-r--r--calendar/gncal-day-view.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gncal-day-view.c b/calendar/gncal-day-view.c
index 2172810c52..e62d6ba2e6 100644
--- a/calendar/gncal-day-view.c
+++ b/calendar/gncal-day-view.c
@@ -291,10 +291,8 @@ gncal_day_view_update (GncalDayView *dview, iCalObject *ico, int flags)
g_return_if_fail (dview != NULL);
g_return_if_fail (GNCAL_IS_DAY_VIEW (dview));
+ g_return_if_fail (dview->calendar->cal);
- if (!dview->calendar->cal)
- return;
-
if (dview->day_str)
g_free (dview->day_str);