From 809aec4f0ee7d202cca898f8a5320a907b064a11 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Thu, 30 Mar 2000 16:34:10 +0000 Subject: cal_client_get_events_in_range returns a list of CalObjInstance *, not a * gui/main.c (calendar_get_events_in_range): cal_client_get_events_in_range returns a list of CalObjInstance *, not a list of (char *) uid. svn path=/trunk/; revision=2255 --- calendar/gui/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/calendar/gui/main.c b/calendar/gui/main.c index b46e67bda8..7200ffea04 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -1128,10 +1128,11 @@ GList *calendar_get_events_in_range (CalClient *calc, for (l = uids; l; l = l->next){ CalObjFindStatus status; - char *obj_string = cal_client_get_object (calc, l->data); - /*iCalObject *obj = string_to_ical_object (obj_string);*/ + CalObjInstance *coi = l->data; + char *uid = coi->uid; + char *obj_string = cal_client_get_object (calc, uid); iCalObject *ico; - char *uid = l->data; + status = ical_object_find_in_string (uid, obj_string, &ico); switch (status){ -- cgit v1.2.3