aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
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
parent3641d7d4bdb22b7e6a1f6d4edd84390c559222dd (diff)
downloadgsoc2013-evolution-de6a038de483b86729070f81dbadaf364dcf28b9.tar
gsoc2013-evolution-de6a038de483b86729070f81dbadaf364dcf28b9.tar.gz
gsoc2013-evolution-de6a038de483b86729070f81dbadaf364dcf28b9.tar.bz2
gsoc2013-evolution-de6a038de483b86729070f81dbadaf364dcf28b9.tar.lz
gsoc2013-evolution-de6a038de483b86729070f81dbadaf364dcf28b9.tar.xz
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')
-rw-r--r--calendar/cal-util/cal-component.c4
-rw-r--r--calendar/cal-util/cal-recur.c4
2 files changed, 4 insertions, 4 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)
{
diff --git a/calendar/cal-util/cal-recur.c b/calendar/cal-util/cal-recur.c
index 043afddb3b..5746bfc5f2 100644
--- a/calendar/cal-util/cal-recur.c
+++ b/calendar/cal-util/cal-recur.c
@@ -3693,7 +3693,7 @@ static time_t
cal_recur_get_rule_end_date (icalproperty *prop)
{
icalparameter *param;
- char *xname, *xvalue;
+ const char *xname, *xvalue;
icalvalue *value;
struct icaltimetype icaltime;
@@ -3727,7 +3727,7 @@ cal_recur_set_rule_end_date (icalproperty *prop,
icalparameter *param;
icalvalue *value;
struct icaltimetype icaltime;
- char *end_date_string, *xname;
+ const char *end_date_string, *xname;
icaltime = icaltime_from_timet (end_date, FALSE, FALSE);
value = icalvalue_new_datetime (icaltime);