summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKent Sutherland <git@ksuther.com>2016-12-18 12:45:23 -0600
committerKent Sutherland <git@ksuther.com>2016-12-18 13:03:32 -0600
commit2090906f02a08eb7223fffaf068b0ebfb41776a7 (patch)
tree79f071b48d34e345611d423a44303ff3d43810de /examples
parentc50e904cf0e4ac0064736bbeefbb9f192ead6e74 (diff)
downloadlibical-git-2090906f02a08eb7223fffaf068b0ebfb41776a7.tar.gz
Remove deprecated icalproperty_remove_parameter
Use icalproperty_remove_parameter_by_kind instead.
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);