From a4789a176c9b256e018e31ac363ee9847da55500 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Mon, 28 Aug 2000 23:17:08 +0000 Subject: We no longer need time_from_icaltimetype as libical has the API for this 2000-08-28 JP Rosevear * 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 --- calendar/gui/gncal-todo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/gui/gncal-todo.c') 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); -- cgit v1.2.3