diff options
author | Seth Alves <alves@src.gnome.org> | 2000-03-31 00:34:10 +0800 |
---|---|---|
committer | Seth Alves <alves@src.gnome.org> | 2000-03-31 00:34:10 +0800 |
commit | 809aec4f0ee7d202cca898f8a5320a907b064a11 (patch) | |
tree | 53e741ca9298416498f29544bead7259619499d7 | |
parent | f43f0eafa8ac329a029ed58f41ac570cfcfadcaf (diff) | |
download | gsoc2013-evolution-809aec4f0ee7d202cca898f8a5320a907b064a11.tar gsoc2013-evolution-809aec4f0ee7d202cca898f8a5320a907b064a11.tar.gz gsoc2013-evolution-809aec4f0ee7d202cca898f8a5320a907b064a11.tar.bz2 gsoc2013-evolution-809aec4f0ee7d202cca898f8a5320a907b064a11.tar.lz gsoc2013-evolution-809aec4f0ee7d202cca898f8a5320a907b064a11.tar.xz 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.c | 7 |
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){ |