diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-27 22:05:16 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-28 21:01:21 -0400 |
commit | 14d4240a91655ab98896578f80f3f9273b4df799 (patch) | |
tree | 3fb36b0de04a816be7f2cbf0029e4e62f0ee2902 /pango/pango-fontmap.h | |
parent | 6924489203c20e5462ed19ee714c53b02393f1b0 (diff) | |
download | pango-14d4240a91655ab98896578f80f3f9273b4df799.tar.gz |
Add autoptr cleanup funcs
Diffstat (limited to 'pango/pango-fontmap.h')
-rw-r--r-- | pango/pango-fontmap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pango-fontmap.h b/pango/pango-fontmap.h index 0e0edd43..cc85899b 100644 --- a/pango/pango-fontmap.h +++ b/pango/pango-fontmap.h @@ -124,6 +124,9 @@ PANGO_AVAILABLE_IN_1_46 PangoFontFamily *pango_font_map_get_family (PangoFontMap *fontmap, const char *name); + +G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontMap, g_object_unref) + G_END_DECLS #endif /* __PANGO_FONTMAP_H__ */ |