summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-08-02 14:34:21 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2019-08-02 18:19:03 +0100
commit3ecb68a3482c5560cc8ecb0df9b2c8b783e41aaa (patch)
tree0caa059f235a8e91f27ba531139bfcf17acb3f98 /pango
parentf77e7e2a2d177f3621c8002d2725de45f2fcc0c4 (diff)
downloadpango-3ecb68a3482c5560cc8ecb0df9b2c8b783e41aaa.tar.gz
Add missing transfer annotations
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-ot-info.c4
-rw-r--r--pango/pangofc-decoder.c4
-rw-r--r--pango/pangofc-fontmap.c4
-rw-r--r--pango/pangoft2.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index 30dc0bb9..f995c1d4 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -80,8 +80,8 @@ pango_ot_info_finalizer (void *object)
*
* Returns the #PangoOTInfo structure for the given FreeType font face.
*
- * Return value: the #PangoOTInfo for @face. This object will have
- * the same lifetime as @face.
+ * Return value: (transfer none): the #PangoOTInfo for @face. This object
+ * will have the same lifetime as @face.
*
* Since: 1.2
**/
diff --git a/pango/pangofc-decoder.c b/pango/pangofc-decoder.c
index f11b4e07..7af4cdfc 100644
--- a/pango/pangofc-decoder.c
+++ b/pango/pangofc-decoder.c
@@ -52,8 +52,8 @@ pango_fc_decoder_class_init (PangoFcDecoderClass *klass G_GNUC_UNUSED)
* internal value stored by the #PangoFcDecoder and must not
* be modified or freed.
*
- * Return value: the #FcCharset for @fcfont; must not be modified
- * or freed.
+ * Returns: (transfer none): the #FcCharset for @fcfont; must not
+ * be modified or freed.
*
* Since: 1.6
**/
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index 6ac75ef8..d8c7f227 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -1196,8 +1196,8 @@ pango_fc_font_map_add_decoder_find_func (PangoFcFontMap *fcfontmap,
* Finds the decoder to use for @pattern. Decoders can be added to
* a font map using pango_fc_font_map_add_decoder_find_func().
*
- * Returns: (nullable): a newly created #PangoFcDecoder object or
- * %NULL if no decoder is set for @pattern.
+ * Returns: (transfer full) (nullable): a newly created #PangoFcDecoder
+ * object or %NULL if no decoder is set for @pattern.
*
* Since: 1.26
**/
diff --git a/pango/pangoft2.c b/pango/pangoft2.c
index e8bb8e1f..b286f906 100644
--- a/pango/pangoft2.c
+++ b/pango/pangoft2.c
@@ -482,7 +482,7 @@ pango_ft2_font_finalize (GObject *object)
* Gets the #PangoCoverage for a <type>PangoFT2Font</type>. Use
* pango_font_get_coverage() instead.
*
- * Return value: a #PangoCoverage.
+ * Return value: (transfer full): a #PangoCoverage.
**/
PangoCoverage *
pango_ft2_font_get_coverage (PangoFont *font,