aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-todo.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/gncal-todo.c
parentb807448dce5d356dcd1b4ea6133abf104564e44b (diff)
downloadgsoc2013-evolution-a4789a176c9b256e018e31ac363ee9847da55500.tar.gz
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/gncal-todo.c')
-rw-r--r--calendar/gui/gncal-todo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c
index f81cc24740..3bd6839962 100644
--- a/calendar/gui/gncal-todo.c
+++ b/calendar/gui/gncal-todo.c
@@ -217,7 +217,7 @@ gncal_todo_edit (CalClient *client, CalComponent *comp)
due_entry = gtk_entry_new ();
cal_component_get_dtend (comp, &date);
- d = time_from_icaltimetype (*date.value);
+ d = icaltime_as_timet (*date.value);
due_entry = date_edit_new (d, TRUE);
gtk_box_pack_start (GTK_BOX (due_box), due_entry, TRUE, TRUE, 0);
gtk_widget_show (due_entry);
@@ -717,7 +717,7 @@ insert_in_clist (GncalTodo *todo, CalComponent *comp)
/* for right now all I'll do is up to the hours. */
cal_component_get_dtend (comp, &date);
- time_remain = time_from_icaltimetype (*date.value) - time (NULL);
+ time_remain = icaltime_as_timet (*date.value) - time (NULL);
if(time_remain < 0) {
text[3] = "Overdue!";
}
@@ -799,7 +799,7 @@ insert_in_clist (GncalTodo *todo, CalComponent *comp)
*/
cal_component_get_dtend (comp, &date);
- d = time_from_icaltimetype (*date.value);
+ d = icaltime_as_timet (*date.value);
if(todo_show_due_date)
{
text[1] = convert_time_t_to_char (d);