aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-day-view.c2
-rw-r--r--calendar/gui/e-week-view.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index c1573c9ae7..b96f3fbc3e 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,12 @@
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
+
+2000-08-21 JP Rosevear <jpr@helixcode.com>
+
* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
Use CalComponent instead of iCalObject. #if some alarm stuff
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,