diff options
Diffstat (limited to 'calendar/gui/gncal-day-view.c')
-rw-r--r-- | calendar/gui/gncal-day-view.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/gui/gncal-day-view.c b/calendar/gui/gncal-day-view.c index a93929e569..82175ba85c 100644 --- a/calendar/gui/gncal-day-view.c +++ b/calendar/gui/gncal-day-view.c @@ -366,7 +366,6 @@ 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->calc); if (dview->day_str) g_free (dview->day_str); @@ -380,7 +379,7 @@ gncal_day_view_update (GncalDayView *dview, iCalObject *ico, int flags) calendar_destroy_event_list (dview->events); */ - dview->events = calendar_get_events_in_range (dview->calendar->calc, + dview->events = calendar_get_events_in_range (dview->calendar->client, dview->lower, dview->upper); |