From bd3ec0ccf33136d11c88c8f1e1b132d7d7361d71 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 31 Oct 2021 21:25:45 -0400 Subject: 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(-) (limited to 'pango') 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, -- cgit v1.2.1