From 3418772c2cd0532ad71fcb783bd258451a694a19 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 26 Aug 2004 02:12:07 +0000 Subject: prepare the local record correctly, should fix copy to/from problems when 2004-08-25 JP Rosevear * conduits/todo/todo-conduit.c (for_each): prepare the local record correctly, should fix copy to/from problems when syncing * conduits/calendar/calendar-conduit.c (for_each): ditto svn path=/trunk/; revision=27026 --- calendar/conduits/calendar/calendar-conduit.c | 2 +- calendar/conduits/todo/todo-conduit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/conduits') diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c index 7885dadb9e..4c56422513 100644 --- a/calendar/conduits/calendar/calendar-conduit.c +++ b/calendar/conduits/calendar/calendar-conduit.c @@ -1576,7 +1576,7 @@ for_each (GnomePilotConduitSyncAbs *conduit, iterator = g_list_next (iterator); *local = g_new0 (ECalLocalRecord, 1); - local_record_from_uid (*local, iterator->data, ctxt); + local_record_from_comp (*local, iterator->data, ctxt); g_list_prepend (ctxt->locals, *local); } else { LOG (g_message ( "for_each ending" )); diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c index 5e500b141a..1767741270 100644 --- a/calendar/conduits/todo/todo-conduit.c +++ b/calendar/conduits/todo/todo-conduit.c @@ -1070,7 +1070,7 @@ for_each (GnomePilotConduitSyncAbs *conduit, iterator = g_list_next (iterator); *local = g_new0 (EToDoLocalRecord, 1); - local_record_from_uid (*local, iterator->data, ctxt); + local_record_from_comp (*local, iterator->data, ctxt); g_list_prepend (ctxt->locals, *local); } else { LOG (g_message ( "for_each ending" )); -- cgit