diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-07-01 07:13:55 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-07-01 07:14:34 -0400 |
commit | 39e3fc36c4d8e21fbc9d01832167db2b4566950e (patch) | |
tree | f3659f8e314bb50217aa283c97d0d0fd5f84510d /pango/pangofc-fontmap.c | |
parent | 4d4e1185bff987e6549d8eff2aecfe3e551691a0 (diff) | |
download | pango-39e3fc36c4d8e21fbc9d01832167db2b4566950e.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
Diffstat (limited to 'pango/pangofc-fontmap.c')
-rw-r--r-- | pango/pangofc-fontmap.c | 3 |
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 */ |