summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2021-10-18 21:05:05 +0200
committerCorentin Noël <corentin.noel@collabora.com>2021-10-18 21:05:05 +0200
commit81c933297c2c6a0430f19fa14acf47ba1acce96a (patch)
treeea4cb50b1cbd28e24dc3ade248366fe70675dcf2
parent73738608973d33246696b284f3fd111cd8430833 (diff)
downloadlibical-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.
-rw-r--r--src/libical-glib/api/i-cal-time.xml2
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">