aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-day-view.c2
-rw-r--r--calendar/gui/e-week-view.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index ea1f541791..c14da5f58f 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -3177,7 +3177,7 @@ e_day_view_reload_events (EDayView *day_view)
if (day_view->calendar
&& (day_view->lower != 0 || day_view->upper != 0)) {
cal_client_generate_instances (day_view->calendar->client,
- CAL_COMPONENT_EVENT,
+ CALOBJ_TYPE_EVENT,
day_view->lower,
day_view->upper,
e_day_view_add_event,
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index 98a52c4039..faf78db567 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -1573,7 +1573,7 @@ e_week_view_reload_events (EWeekView *week_view)
? E_WEEK_VIEW_MAX_WEEKS * 7 : 7;
cal_client_generate_instances (week_view->calendar->client,
- CAL_COMPONENT_EVENT,
+ CALOBJ_TYPE_EVENT,
week_view->day_starts[0],
week_view->day_starts[num_days],
e_week_view_add_event,