From 1de2b20cd497dbf35c96b162dace5a211f2bc679 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 12 Dec 2000 02:17:32 +0000 Subject: This is to make things work with libical 0.21helix1 and later. Warnings 2000-12-11 Federico Mena Quintero This is to make things work with libical 0.21helix1 and later. Warnings remain because at last libical was constified; will take care of those tomorrow. * cal-util/timeutil.h: #include instead of * gui/e-itip-control.c: Likewise. * gui/e-meeting-edit.c: Likewise. * gui/itip-utils.h: Likewise. * cal-util/cal-component.c (alarm_uid_from_prop): constify. (cal_component_get_status): Updated for new libical API. (cal_component_set_status): Likewise. * gui/calendar-model.c (ensure_task_complete): Removed unused status code. (ensure_task_not_complete): Update for new status API. * gui/dialogs/task-editor.c (status_string_to_value): Removed function. (status_value_to_string): Removed function. (status_string_map): Removed variable. (fill_widgets): Update for new status API. (dialog_to_comp_object): Likewise. svn path=/trunk/; revision=6932 --- calendar/cal-util/cal-component.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/cal-util/cal-component.h') diff --git a/calendar/cal-util/cal-component.h b/calendar/cal-util/cal-component.h index eb4b129f17..f59bb33a7b 100644 --- a/calendar/cal-util/cal-component.h +++ b/calendar/cal-util/cal-component.h @@ -165,8 +165,8 @@ void cal_component_commit_sequence (CalComponent *comp); void cal_component_get_uid (CalComponent *comp, const char **uid); void cal_component_set_uid (CalComponent *comp, const char *uid); -void cal_component_get_status (CalComponent *comp, const char **status); -void cal_component_set_status (CalComponent *comp, const char *status); +void cal_component_get_status (CalComponent *comp, icalproperty_status *status); +void cal_component_set_status (CalComponent *comp, icalproperty_status status); void cal_component_get_categories_list (CalComponent *comp, GSList **categ_list); void cal_component_set_categories_list (CalComponent *comp, GSList *categ_list); -- cgit v1.2.3