aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/conduits')
-rw-r--r--calendar/conduits/calendar/calendar-conduit.c4
-rw-r--r--calendar/conduits/todo/todo-conduit-control-applet.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c
index e0a83e7d83..30cee2d293 100644
--- a/calendar/conduits/calendar/calendar-conduit.c
+++ b/calendar/conduits/calendar/calendar-conduit.c
@@ -1198,7 +1198,7 @@ transmit (GnomePilotConduitStandardAbs *conduit,
time_t dtstart_time_t;
cal_component_get_dtstart (local->ical, &dtstart);
- dtstart_time_t = time_from_icaltimetype (*dtstart.value);
+ dtstart_time_t = icaltime_as_timet (*dtstart.value);
local->a->begin = *localtime (&dtstart_time_t);
}
@@ -1209,7 +1209,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->a->end = *localtime (&dtend_time_t);
}
diff --git a/calendar/conduits/todo/todo-conduit-control-applet.c b/calendar/conduits/todo/todo-conduit-control-applet.c
index 7d0b159d70..811d7fe8e2 100644
--- a/calendar/conduits/todo/todo-conduit-control-applet.c
+++ b/calendar/conduits/todo/todo-conduit-control-applet.c
@@ -373,8 +373,6 @@ main (int argc, char *argv[])
&origState->sync_type);
activated = org_activation_state;
- //gpilotd_conduit_mgmt_get_sync_type (conduit, pilotId, &origState->sync_type);
-
curState = gcalconduit_dupe_configuration(origState);
pilot_capplet_setup ();