diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2021-10-18 21:05:05 +0200 |
---|---|---|
committer | Corentin Noël <corentin.noel@collabora.com> | 2021-10-18 21:05:05 +0200 |
commit | 81c933297c2c6a0430f19fa14acf47ba1acce96a (patch) | |
tree | ea4cb50b1cbd28e24dc3ade248366fe70675dcf2 /src/libical-glib | |
parent | 73738608973d33246696b284f3fd111cd8430833 (diff) | |
download | libical-git-81c933297c2c6a0430f19fa14acf47ba1acce96a.tar.gz |
libical-glib: Fix annotation of i_cal_time_get_timezone
It returns a reference of the newly create ICalTimezone so the caller has
to actually unref it.
Diffstat (limited to 'src/libical-glib')
-rw-r--r-- | src/libical-glib/api/i-cal-time.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libical-glib/api/i-cal-time.xml b/src/libical-glib/api/i-cal-time.xml index be6e2685..9890305b 100644 --- a/src/libical-glib/api/i-cal-time.xml +++ b/src/libical-glib/api/i-cal-time.xml @@ -85,7 +85,7 @@ </method> <method name="i_cal_time_get_timezone" corresponds="(void *)icaltime_get_timezone" kind="get" since="1.0"> <parameter type="const ICalTime *" name="tt" annotation="in, transfer none" comment="The #ICalTime to be queried"/> - <returns type="ICalTimezone *" annotation="transfer none" translator_argus="(GObject *)tt, TRUE" comment="The timezone information" /> + <returns type="ICalTimezone *" annotation="transfer full" translator_argus="(GObject *)tt, TRUE" comment="The timezone information" /> <comment xml:space="preserve">Returns the timezone.</comment> </method> <method name="i_cal_time_set_timezone" corresponds="icaltime_set_timezone" kind="set" since="1.0"> |