aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-08-22 01:04:36 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-08-22 01:04:36 +0800
commitbcaa8e51c685fcd8e2919cc2a6db2173f5e9fa07 (patch)
treee719bc33a37fc39e85ebfbda88474c70aea3d22b /calendar/gui
parent015f505d02a9994f4d167436aa0aa554e0cff22d (diff)
downloadgsoc2013-evolution-bcaa8e51c685fcd8e2919cc2a6db2173f5e9fa07.tar.gz
gsoc2013-evolution-bcaa8e51c685fcd8e2919cc2a6db2173f5e9fa07.tar.zst
gsoc2013-evolution-bcaa8e51c685fcd8e2919cc2a6db2173f5e9fa07.zip
Use CalObjType
2000-08-21 JP Rosevear <jpr@helixcode.com> * 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
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,