summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/access_properties_and_parameters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/access_properties_and_parameters.c b/examples/access_properties_and_parameters.c
index 02505cd0..d17d91c0 100644
--- a/examples/access_properties_and_parameters.c
+++ b/examples/access_properties_and_parameters.c
@@ -82,7 +82,7 @@ void update_attendees(icalcomponent* event)
/* Remove the NEEDSACTION parameter and replace it with
TENTATIVE */
- icalproperty_remove_parameter(p,ICAL_PARTSTAT_PARAMETER);
+ icalproperty_remove_parameter_by_kind(p,ICAL_PARTSTAT_PARAMETER);
/* Don't forget to free it */
icalparameter_free(parameter);