From 6fa7bb56538b93fcd926b2b5c6f63168c226ea60 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 1 Sep 2000 16:44:09 +0000 Subject: Update for new libical. Conduits should atleast compile again. 2000-09-01 JP Rosevear * conduits/todo/todo-conduit.c: Update for new libical. Conduits should atleast compile again. * conduits/calendar/calendar-conduit.c: ditto * Makefile.am: Build the conduits only when they've been enabled. svn path=/trunk/; revision=5165 --- calendar/conduits/todo/todo-conduit.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'calendar/conduits/todo') diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c index 2a3c643a3d..3d85dbfa06 100644 --- a/calendar/conduits/todo/todo-conduit.c +++ b/calendar/conduits/todo/todo-conduit.c @@ -452,7 +452,7 @@ ical_from_remote_record (GnomePilotConduitStandardAbs *conduit, { CalComponent *obj; struct ToDo todo; - struct icaltimetype now = icaltimetype_from_timet (time (NULL), FALSE); + struct icaltimetype now = icaltime_from_timet (time (NULL), FALSE, FALSE); CalComponentText summary = {NULL, NULL}; CalComponentText comment = {NULL, NULL}; @@ -505,7 +505,7 @@ ical_from_remote_record (GnomePilotConduitStandardAbs *conduit, struct icaltimetype dtend_ictt; CalComponentDateTime dtend; - dtend_ictt = icaltimetype_from_timet (mktime (& todo.due), FALSE); + dtend_ictt = icaltime_from_timet (mktime (& todo.due), FALSE, FALSE); dtend.value = &dtend_ictt; dtend.tzid = NULL; cal_component_set_dtend (obj, &dtend); @@ -594,7 +594,7 @@ update_record (GnomePilotConduitStandardAbs *conduit, } if (status != CAL_CLIENT_GET_SUCCESS) { - struct icaltimetype now = icaltimetype_from_timet (time (NULL), FALSE); + struct icaltimetype now = icaltime_from_timet (time (NULL), FALSE, FALSE); LOG ("failed, making a new one.\n"); @@ -1110,7 +1110,7 @@ transmit (GnomePilotConduitStandardAbs *conduit, time_t dtend_time_t; cal_component_get_dtend (local->ical, &dtend); - dtend_time_t = time_from_icaltimetype (*dtend.value); + dtend_time_t = icaltime_as_timet (*dtend.value); local->todo->due = *localtime (&dtend_time_t); local->todo->indefinite = (dtend.value->year == 0); -- cgit v1.2.3