[pango/matthiasc/for-main: 2/2] fontset: Add a missing annotation




commit bd3ec0ccf33136d11c88c8f1e1b132d7d7361d71
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Oct 31 21:25:45 2021 -0400

    fontset: Add a missing annotation
    
    pango_fontset_simple_append consumes the font
    that it is given.

 pango/pango-fontset.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/pango/pango-fontset.c b/pango/pango-fontset.c
index a7cda5ad..b8c15152 100644
--- a/pango/pango-fontset.c
+++ b/pango/pango-fontset.c
@@ -301,9 +301,11 @@ pango_fontset_simple_finalize (GObject *object)
 /**
  * pango_fontset_simple_append:
  * @fontset: a `PangoFontsetSimple`.
- * @font: a `PangoFont`.
+ * @font: (transfer full): a `PangoFont`.
  *
  * Adds a font to the fontset.
+ *
+ * The fontset takes ownership of @font.
  */
 void
 pango_fontset_simple_append (PangoFontsetSimple *fontset,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]