diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-18 12:22:57 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-18 12:22:57 +0800 |
commit | d4f4dc26fcc04d8020812444763a38049a04beff (patch) | |
tree | 0b2f43ed018b15e32abb9fe53b87a68c36e070ae /calendar/gui/gncal-day-view.c | |
parent | f1b08663ddff6432289ca4780bc823c96d471657 (diff) | |
download | gsoc2013-evolution-d4f4dc26fcc04d8020812444763a38049a04beff.tar.gz gsoc2013-evolution-d4f4dc26fcc04d8020812444763a38049a04beff.tar.zst gsoc2013-evolution-d4f4dc26fcc04d8020812444763a38049a04beff.zip |
Usability fixes -mig
svn path=/trunk/; revision=156
Diffstat (limited to 'calendar/gui/gncal-day-view.c')
-rw-r--r-- | calendar/gui/gncal-day-view.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gui/gncal-day-view.c b/calendar/gui/gncal-day-view.c index 2172810c52..e62d6ba2e6 100644 --- a/calendar/gui/gncal-day-view.c +++ b/calendar/gui/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); |