diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-08-29 07:17:08 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-08-29 07:17:08 +0800 |
commit | a4789a176c9b256e018e31ac363ee9847da55500 (patch) | |
tree | 36d28ac1684ef1c0c0bce859760d71aee4f9bdc1 /calendar/gui/event-editor.c | |
parent | b807448dce5d356dcd1b4ea6133abf104564e44b (diff) | |
download | gsoc2013-evolution-a4789a176c9b256e018e31ac363ee9847da55500.tar gsoc2013-evolution-a4789a176c9b256e018e31ac363ee9847da55500.tar.gz gsoc2013-evolution-a4789a176c9b256e018e31ac363ee9847da55500.tar.bz2 gsoc2013-evolution-a4789a176c9b256e018e31ac363ee9847da55500.tar.lz gsoc2013-evolution-a4789a176c9b256e018e31ac363ee9847da55500.tar.xz gsoc2013-evolution-a4789a176c9b256e018e31ac363ee9847da55500.tar.zst gsoc2013-evolution-a4789a176c9b256e018e31ac363ee9847da55500.zip |
We no longer need time_from_icaltimetype as libical has the API for this
2000-08-28 JP Rosevear <jpr@helixcode.com>
* cal-util/timeutil.h: We no longer need time_from_icaltimetype
as libical has the API for this
* cal-util/timeutil.c: ditto
* cal-util/cal-recur.c: Replace time_from_icaltimetype with
icaltime_as_timet
* gui/calendar-model.c: ditto
* gui/event-editor.c: ditto
* gui/gnome-cal.c: ditto
svn path=/trunk/; revision=5090
Diffstat (limited to 'calendar/gui/event-editor.c')
-rw-r--r-- | calendar/gui/event-editor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/event-editor.c b/calendar/gui/event-editor.c index 4e3d08e362..d29b67b7fd 100644 --- a/calendar/gui/event-editor.c +++ b/calendar/gui/event-editor.c @@ -723,9 +723,9 @@ fill_widgets (EventEditor *ee) 3rd Feb as the end date, since it really ends at midnight on 3rd, so we have to subtract a day so we only show the 2nd. */ cal_component_get_dtstart (priv->comp, &d); - dtstart = time_from_icaltimetype (*d.value); + dtstart = icaltime_as_timet (*d.value); cal_component_get_dtend (priv->comp, &d); - dtend = time_from_icaltimetype (*d.value); + dtend = icaltime_as_timet (*d.value); if (time_day_begin (dtstart) == dtstart && time_day_begin (dtend) == dtend) { dtend = time_add_day (dtend, -1); @@ -885,7 +885,7 @@ fill_widgets (EventEditor *ee) r->count); } } else { - time_t t = time_from_icaltimetype (r->until); + time_t t = icaltime_as_timet (r->until); e_dialog_toggle_set (priv->recurrence_ending_date_end_on, TRUE); /* Shorten by one day, as we store end-on date a day ahead */ /* FIXME is this correct? */ @@ -906,7 +906,7 @@ fill_widgets (EventEditor *ee) time_t ext; t = l->data; - ext = time_from_icaltimetype (*t); + ext = icaltime_as_timet (*t); append_exception (ee, ext); } cal_component_free_exdate_list (list); |