aboutsummaryrefslogtreecommitdiffstats
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
parent015f505d02a9994f4d167436aa0aa554e0cff22d (diff)
downloadgsoc2013-evolution-bcaa8e51c685fcd8e2919cc2a6db2173f5e9fa07.tar
gsoc2013-evolution-bcaa8e51c685fcd8e2919cc2a6db2173f5e9fa07.tar.gz
gsoc2013-evolution-bcaa8e51c685fcd8e2919cc2a6db2173f5e9fa07.tar.bz2
gsoc2013-evolution-bcaa8e51c685fcd8e2919cc2a6db2173f5e9fa07.tar.lz
gsoc2013-evolution-bcaa8e51c685fcd8e2919cc2a6db2173f5e9fa07.tar.xz
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
-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,