From de6a038de483b86729070f81dbadaf364dcf28b9 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 12 Dec 2000 20:34:58 +0000 Subject: Constify for new libical API. (set_text_list): Likewise. 2000-12-12 Federico Mena Quintero * cal-util/cal-component.c (get_text_list): Constify for new libical API. (set_text_list): Likewise. * cal-util/cal-recur.c (cal_recur_get_rule_end_date): Likewise. (cal_recur_set_rule_end_date): Likewise. * gui/e-itip-control.c (find_attendee): Likewise. (pstream_load): Likewise. * gui/gnome-cal.c (released_event_object_cb): Removed unused function. * gui/dialogs/task-editor.c (status_string_map): Removed unused variable. svn path=/trunk/; revision=6943 --- calendar/cal-util/cal-component.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/cal-util/cal-component.c') diff --git a/calendar/cal-util/cal-component.c b/calendar/cal-util/cal-component.c index cc920c19c6..823afaa663 100644 --- a/calendar/cal-util/cal-component.c +++ b/calendar/cal-util/cal-component.c @@ -1422,7 +1422,7 @@ cal_component_set_classification (CalComponent *comp, CalComponentClassification /* Gets a text list value */ static void get_text_list (GSList *text_list, - char *(* get_prop_func) (icalproperty *prop), + const char *(* get_prop_func) (icalproperty *prop), GSList **tl) { GSList *l; @@ -1456,7 +1456,7 @@ get_text_list (GSList *text_list, /* Sets a text list value */ static void set_text_list (CalComponent *comp, - icalproperty *(* new_prop_func) (char *value), + icalproperty *(* new_prop_func) (const char *value), GSList **text_list, GSList *tl) { -- cgit