aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-model.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-08-29 07:17:08 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-08-29 07:17:08 +0800
commita4789a176c9b256e018e31ac363ee9847da55500 (patch)
tree36d28ac1684ef1c0c0bce859760d71aee4f9bdc1 /calendar/gui/calendar-model.c
parentb807448dce5d356dcd1b4ea6133abf104564e44b (diff)
downloadgsoc2013-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/calendar-model.c')
-rw-r--r--calendar/gui/calendar-model.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c
index 9be00485b3..135f770863 100644
--- a/calendar/gui/calendar-model.c
+++ b/calendar/gui/calendar-model.c
@@ -353,7 +353,7 @@ get_completed (CalComponent *comp)
if (!completed)
t = 0;
else {
- t = time_from_icaltimetype (*completed);
+ t = icaltime_as_timet (*completed);
cal_component_free_icaltimetype (completed);
}
@@ -369,7 +369,7 @@ get_and_free_datetime (CalComponentDateTime dt)
if (!dt.value)
t = 0;
else
- t = time_from_icaltimetype (*dt.value);
+ t = icaltime_as_timet (*dt.value);
cal_component_free_datetime (&dt);
@@ -599,7 +599,7 @@ get_is_overdue (CalComponent *comp)
* really overdue?
**/
- t = time_from_icaltimetype (*dt.value);
+ t = icaltime_as_timet (*dt.value);
if (t < time (NULL))
retval = TRUE;