summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-01 07:13:55 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-07-01 07:14:34 -0400
commit39e3fc36c4d8e21fbc9d01832167db2b4566950e (patch)
treef3659f8e314bb50217aa283c97d0d0fd5f84510d
parent4d4e1185bff987e6549d8eff2aecfe3e551691a0 (diff)
downloadpango-get-config-docs.tar.gz
Clarify docs of pango_fc_fontmap_get_configget-config-docs
The return value is owned by Pango. transfer=none doesn't really work for non-GObject types, so just spell it out. Fixes: #572
-rw-r--r--pango/pangofc-fontmap.c3
1 files changed, 2 insertions, 1 deletions
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
*/