From ad455532d8289b0c7364af22f58e08c7f4bdf55f Mon Sep 17 00:00:00 2001 From: Adenilson Cavalcanti Date: Mon, 25 Aug 2008 10:11:11 -0400 Subject: [PATCH] Setting gcal objects to store the raw XML for entries (I'm going to use then to feed opensync with data). --- src/gcalendar.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gcalendar.c b/src/gcalendar.c index 7be244f..95059bb 100644 --- a/src/gcalendar.c +++ b/src/gcalendar.c @@ -418,10 +418,15 @@ static void *gc_initialize(OSyncPlugin *plugin, if (!(strcmp(osync_plugin_resource_get_objtype(r->data), "calendar"))) if (!(plgdata->calendar = gcal_new(GCALENDAR))) goto error_freeplg; + else + gcal_set_store_xml(plgdata->calendar, 1); if (!(strcmp(osync_plugin_resource_get_objtype(r->data), "contact"))) if (!(plgdata->contacts = gcal_new(GCONTACT))) goto error_freeplg; + else + gcal_set_store_xml(plgdata->contacts, 1); + } -- 2.11.4.GIT