From bcaa8e51c685fcd8e2919cc2a6db2173f5e9fa07 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Mon, 21 Aug 2000 17:04:36 +0000 Subject: Use CalObjType 2000-08-21 JP Rosevear * gui/e-week-view.c (e_week_view_reload_events): Use CalObjType * gui/e-day-view.c (e_day_view_reload_events): ditto svn path=/trunk/; revision=4904 --- calendar/ChangeLog | 7 +++++++ calendar/gui/e-day-view.c | 2 +- calendar/gui/e-week-view.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index c1573c9ae7..b96f3fbc3e 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2000-08-21 JP Rosevear + + * gui/e-week-view.c (e_week_view_reload_events): + Use CalObjType + + * gui/e-day-view.c (e_day_view_reload_events): ditto + 2000-08-21 JP Rosevear * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): 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, -- cgit