summaryrefslogtreecommitdiff
path: root/pango/pango-fontset.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-10-31 21:25:45 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-10-31 21:55:02 -0400
commitbd3ec0ccf33136d11c88c8f1e1b132d7d7361d71 (patch)
tree1d36850bd4c18a64c51f2ccd55834535438097bb /pango/pango-fontset.c
parentd1eda3cd88e2b71558ea897f45184cd78b6035b7 (diff)
downloadpango-bd3ec0ccf33136d11c88c8f1e1b132d7d7361d71.tar.gz
fontset: Add a missing annotation
pango_fontset_simple_append consumes the font that it is given.
Diffstat (limited to 'pango/pango-fontset.c')
-rw-r--r--pango/pango-fontset.c4
1 files changed, 3 insertions, 1 deletions
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,