diff options
author | JP Rosevear <jpr@ximian.com> | 2001-01-24 04:58:23 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-01-24 04:58:23 +0800 |
commit | 34e6621ac12bc290cea08041e25b07f0ac3c51c9 (patch) | |
tree | 4b2326cfec7cfa6737b014f3f9436036f7df1d4d /calendar/conduits | |
parent | 5d7f815b3eede63ce843c7de7a3d2302c6b93586 (diff) | |
download | gsoc2013-evolution-34e6621ac12bc290cea08041e25b07f0ac3c51c9.tar gsoc2013-evolution-34e6621ac12bc290cea08041e25b07f0ac3c51c9.tar.gz gsoc2013-evolution-34e6621ac12bc290cea08041e25b07f0ac3c51c9.tar.bz2 gsoc2013-evolution-34e6621ac12bc290cea08041e25b07f0ac3c51c9.tar.lz gsoc2013-evolution-34e6621ac12bc290cea08041e25b07f0ac3c51c9.tar.xz gsoc2013-evolution-34e6621ac12bc290cea08041e25b07f0ac3c51c9.tar.zst gsoc2013-evolution-34e6621ac12bc290cea08041e25b07f0ac3c51c9.zip |
libical import cleanup
2001-01-23 JP Rosevear <jpr@ximian.com>
* libical import cleanup
svn path=/trunk/; revision=7753
Diffstat (limited to 'calendar/conduits')
-rw-r--r-- | calendar/conduits/calendar/calendar-conduit.c | 10 | ||||
-rw-r--r-- | calendar/conduits/todo/todo-conduit.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c index 1df6a2c8fd..155813d65e 100644 --- a/calendar/conduits/calendar/calendar-conduit.c +++ b/calendar/conduits/calendar/calendar-conduit.c @@ -531,7 +531,7 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit, { CalComponent *comp; struct Appointment appt; - struct icaltimetype now = icaltime_from_timet (time (NULL), FALSE, TRUE), it; + struct icaltimetype now = icaltime_from_timet (time (NULL), FALSE), it; struct icalrecurrencetype recur; int pos, i; CalComponentText summary = {NULL, NULL}; @@ -575,7 +575,7 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit, } if (!is_empty_time (appt.begin)) { - it = icaltime_from_timet (mktime (&appt.begin), FALSE, TRUE); + it = icaltime_from_timet (mktime (&appt.begin), FALSE); dt.value = ⁢ cal_component_set_dtstart (comp, &dt); } @@ -584,11 +584,11 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit, time_t t = mktime (&appt.begin); t = time_day_end (t); - it = icaltime_from_timet (t, FALSE, TRUE); + it = icaltime_from_timet (t, FALSE); dt.value = ⁢ cal_component_set_dtend (comp, &dt); } else if (!is_empty_time (appt.end)) { - it = icaltime_from_timet (mktime (&appt.end), FALSE, TRUE); + it = icaltime_from_timet (mktime (&appt.end), FALSE); dt.value = ⁢ cal_component_set_dtend (comp, &dt); } @@ -648,7 +648,7 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit, if (!appt.repeatForever) { time_t t = mktime (&appt.repeatEnd); t = time_add_day (t, 1); - recur.until = icaltime_from_timet (t, FALSE, TRUE); + recur.until = icaltime_from_timet (t, FALSE); } list = g_slist_append (list, &recur); diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c index 482737c4a5..f812532616 100644 --- a/calendar/conduits/todo/todo-conduit.c +++ b/calendar/conduits/todo/todo-conduit.c @@ -418,7 +418,7 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit, { CalComponent *comp; struct ToDo todo; - struct icaltimetype now = icaltime_from_timet (time (NULL), FALSE, TRUE); + struct icaltimetype now = icaltime_from_timet (time (NULL), FALSE); CalComponentText summary = {NULL, NULL}; CalComponentDateTime dt = {NULL, NULL}; struct icaltimetype due; @@ -466,7 +466,7 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit, } if (!is_empty_time (todo.due)) { - due = icaltime_from_timet (mktime (&todo.due), FALSE, TRUE); + due = icaltime_from_timet (mktime (&todo.due), FALSE); dt.value = &due; cal_component_set_due (comp, &dt); } |