Public feed #891771

Stuff

public text v1 · immutable
Raw Edit
·published 2008-02-04 22:01 UTC
rendered paste body
--- 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 22:50:49.570701713 +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);
 
@@ -1718,7 +1720,7 @@
 			break;
 		}
 
-		g_free (calobj);
+		g_object_unref (comp);
 	}
 
 	/* Calculate deletions *