summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2021-11-05 11:11:47 +0100
committerCorentin Noël <corentin.noel@collabora.com>2021-11-05 11:11:56 +0100
commit96593808296617ac00950cbf1a856b15fa4184c2 (patch)
tree0644716d6a43cef454a5b7359d895b52e1e151e9
parente9fc0434613e41cd05345b85992d754da279dd93 (diff)
downloadlibical-git-96593808296617ac00950cbf1a856b15fa4184c2.tar.gz
Revert "libical-glib: Fix annotation of i_cal_time_get_timezone"
There is a newly created TimeZone object but it is owned by the internal cache. We need to call `i_cal_object_free_global_objects` to free it. This reverts commit 81c933297c2c6a0430f19fa14acf47ba1acce96a.
-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 9890305b..be6e2685 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 full" translator_argus="(GObject *)tt, TRUE" comment="The timezone information" />
+ <returns type="ICalTimezone *" annotation="transfer none" 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">