aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/cal-recur.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-recur.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-recur.c')
-rw-r--r--calendar/cal-util/cal-recur.c4
1 files changed, 2 insertions, 2 deletions
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);