diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2021-10-18 21:05:05 +0200 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2021-10-18 15:11:18 -0400 |
commit | 87639433ac8107223f17fbdfad90439a4c46bb1c (patch) | |
tree | ca0cbf5e1447d55b355c022fa9c55bbe62e7f62a /src | |
parent | 28d75ceb7c94c2313402ab34ee38d26baf67cfd4 (diff) | |
download | libical-git-87639433ac8107223f17fbdfad90439a4c46bb1c.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')
-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 57f35324..4fd0fb6b 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"> |