aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-03-31 00:34:10 +0800
committerSeth Alves <alves@src.gnome.org>2000-03-31 00:34:10 +0800
commit809aec4f0ee7d202cca898f8a5320a907b064a11 (patch)
tree53e741ca9298416498f29544bead7259619499d7
parentf43f0eafa8ac329a029ed58f41ac570cfcfadcaf (diff)
downloadgsoc2013-evolution-809aec4f0ee7d202cca898f8a5320a907b064a11.tar.gz
gsoc2013-evolution-809aec4f0ee7d202cca898f8a5320a907b064a11.tar.zst
gsoc2013-evolution-809aec4f0ee7d202cca898f8a5320a907b064a11.zip
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
-rw-r--r--calendar/gui/main.c7
1 files 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){