From 39e3fc36c4d8e21fbc9d01832167db2b4566950e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 1 Jul 2021 07:13:55 -0400 Subject: Clarify docs of pango_fc_fontmap_get_config The return value is owned by Pango. transfer=none doesn't really work for non-GObject types, so just spell it out. Fixes: #572 --- pango/pangofc-fontmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c index 77a7177b..473dd797 100644 --- a/pango/pangofc-fontmap.c +++ b/pango/pangofc-fontmap.c @@ -2337,7 +2337,8 @@ pango_fc_font_map_set_config (PangoFcFontMap *fcfontmap, * See also: [method@PangoFc.FontMap.set_config]. * * Returns: (nullable): the `FcConfig` object attached to - * @fcfontmap, which might be %NULL. + * @fcfontmap, which might be %NULL. The return value is + * owned by Pango and should not be freed. * * Since: 1.38 */ -- cgit v1.2.1