diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-09-09 00:58:14 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-09-09 00:58:14 +0800 |
commit | f2df2bcabee527ff9e8aae3f88b102b0c810f04f (patch) | |
tree | 8f34766cdb42471f2cebf6c1926c73d680d284a4 /calendar | |
parent | bbb5bf71555a351bce1ab8353ee0d961d5523d65 (diff) | |
download | gsoc2013-evolution-f2df2bcabee527ff9e8aae3f88b102b0c810f04f.tar.gz gsoc2013-evolution-f2df2bcabee527ff9e8aae3f88b102b0c810f04f.tar.zst gsoc2013-evolution-f2df2bcabee527ff9e8aae3f88b102b0c810f04f.zip |
Use icaltime_as_timet
2000-09-08 JP Rosevear <jpr@helixcode.com>
* conduits/calendar/calendar-conduit.c (transmit): Use
icaltime_as_timet
svn path=/trunk/; revision=5269
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/conduits/calendar/calendar-conduit.c | 4 | ||||
-rw-r--r-- | calendar/conduits/todo/todo-conduit-control-applet.c | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 26cf3c3465..ee58b99707 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2000-09-08 JP Rosevear <jpr@helixcode.com> + + * conduits/calendar/calendar-conduit.c (transmit): Use + icaltime_as_timet + 2000-09-08 Christopher James Lahey <clahey@helixcode.com> * cal-util/cal-recur.c, gui/e-day-view.c, gui/e-week-view.c, 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 (); |