[pango/more-introspection-fixes: 7/7] Add missing transfer annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/more-introspection-fixes: 7/7] Add missing transfer annotations
- Date: Fri, 2 Aug 2019 17:19:26 +0000 (UTC)
commit 3ecb68a3482c5560cc8ecb0df9b2c8b783e41aaa
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Aug 2 14:34:21 2019 +0100
Add missing transfer annotations
pango/pango-ot-info.c | 4 ++--
pango/pangofc-decoder.c | 4 ++--
pango/pangofc-fontmap.c | 4 ++--
pango/pangoft2.c | 2 +-
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]