aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/cal-component.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-12-13 04:34:58 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-12-13 04:34:58 +0800
commitde6a038de483b86729070f81dbadaf364dcf28b9 (patch)
tree7f8b8f6a21b7510589c00fedfc903a21bc3b8c06 /calendar/cal-util/cal-component.c
parent3641d7d4bdb22b7e6a1f6d4edd84390c559222dd (diff)
downloadgsoc2013-evolution-de6a038de483b86729070f81dbadaf364dcf28b9.tar.gz
gsoc2013-evolution-de6a038de483b86729070f81dbadaf364dcf28b9.tar.zst
gsoc2013-evolution-de6a038de483b86729070f81dbadaf364dcf28b9.zip
Constify for new libical API. (set_text_list): Likewise.
2000-12-12 Federico Mena Quintero <federico@helixcode.com> * 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
Diffstat (limited to 'calendar/cal-util/cal-component.c')
-rw-r--r--calendar/cal-util/cal-component.c4
1 files changed, 2 insertions, 2 deletions
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)
{