Public feed
#891804
--- evolution-data-server-2.21.90.orig/calendar/backends/groupwise/e-cal-backend-groupwise.c 2008-01-28 04:59:27.000000000 +0100
+++ evolution-data-server-2.21.90/calendar/backends/groupwise/e-cal-backend-groupwise.c 2008-02-04 23:24:32.490389130 +0100
@@ -1690,7 +1690,7 @@
g_free (filename);
g_free (unescaped_uri);
- status = e_cal_backend_groupwise_get_object_list (E_CAL_BACKEND_SYNC (cbgw), NULL, NULL, &list);
+ status = e_cal_backend_groupwise_get_object_list (E_CAL_BACKEND_SYNC (cbgw), NULL, "#t", &list);
if (status != GNOME_Evolution_Calendar_Success)
return status;
@@ -1698,9 +1698,11 @@
for (i = list; i != NULL; i = g_list_next (i)) {
const char *uid;
char *calobj;
+ ECalComponent *comp;
- e_cal_component_get_uid (i->data, &uid);
- calobj = e_cal_component_get_as_string (i->data);
+ comp = e_cal_component_new_from_string(i->data);
+ e_cal_component_get_uid (comp, &uid);
+ calobj = i->data;
g_assert (calobj != NULL);
@@ -1719,7 +1721,10 @@
}
g_free (calobj);
+ g_object_unref (comp);
}
+ g_list_free (list);
+ g_list_free (i);
/* Calculate deletions */
be_data.backend = cbgw;