diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2019-05-26 10:16:10 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2019-05-26 10:18:32 -0400 |
commit | 7dc9a9674120fa8be2fc33e627211b515475207f (patch) | |
tree | 8a02d6cd2c0d25c7bdf807e2cd0205447e60d540 /examples | |
parent | d101b1798dfab5aa6730e63424156453f859f114 (diff) | |
download | libical-git-7dc9a9674120fa8be2fc33e627211b515475207f.tar.gz |
Deprecate foo_new_clone() in favor of foo_clone()
Consistency between const and non-const args for clone functions
Diffstat (limited to 'examples')
-rw-r--r-- | examples/access_properties_and_parameters.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/access_properties_and_parameters.c b/examples/access_properties_and_parameters.c index d17d91c0..f36367d2 100644 --- a/examples/access_properties_and_parameters.c +++ b/examples/access_properties_and_parameters.c @@ -134,7 +134,7 @@ void test_properties() free(str); /* Make a copy of the property. Caller owns the memory */ - clone = icalproperty_new_clone(prop); + clone = icalproperty_clone(prop); /* Get a reference to the value within the clone property */ value = icalproperty_get_value(clone); |