diff options
author | Milan Crha <mcrha@redhat.com> | 2019-01-31 11:37:30 +0100 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2019-01-31 11:37:30 +0100 |
commit | 6b46e811ac13dfccab68858eebbffad0b58dca4e (patch) | |
tree | a0d67b4f85b1672c624161b53239fa11b5a1214a /src/libical-glib/api/i-cal-recur-iterator.xml | |
parent | a1897bd084a40f1275c43b9e9b3aaf3e6e93d4ab (diff) | |
download | libical-git-6b46e811ac13dfccab68858eebbffad0b58dca4e.tar.gz |
[libical-glib] Correct annotation of i_cal_recur_iterator_next()
It returns a newly created object, which the callers is responsible
to free, thus reflect it in the annotation too, which helps the introspection
code to know that it should take care of the returned object.
Diffstat (limited to 'src/libical-glib/api/i-cal-recur-iterator.xml')
-rw-r--r-- | src/libical-glib/api/i-cal-recur-iterator.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libical-glib/api/i-cal-recur-iterator.xml b/src/libical-glib/api/i-cal-recur-iterator.xml index 86232714..049ec613 100644 --- a/src/libical-glib/api/i-cal-recur-iterator.xml +++ b/src/libical-glib/api/i-cal-recur-iterator.xml @@ -22,7 +22,7 @@ </method> <method name="i_cal_recur_iterator_next" corresponds="icalrecur_iterator_next" since="1.0"> <parameter type="ICalRecurIterator *" name="iterator" comment="The iterator."/> - <returns type="ICalTimetype *" annotation="transfer none" comment="The next occurrence according to this recurrence rule."/> + <returns type="ICalTimetype *" annotation="transfer full" comment="The next occurrence according to this recurrence rule."/> <comment xml:space="preserve">Get the next occurrence from an iterator.</comment> </method> <method name="i_cal_recur_iterator_set_start" corresponds="icalrecur_iterator_set_start" since="3.0"> |