summaryrefslogtreecommitdiff
path: root/pango/pango-fontmap.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-27 22:05:16 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-28 21:01:21 -0400
commit14d4240a91655ab98896578f80f3f9273b4df799 (patch)
tree3fb36b0de04a816be7f2cbf0029e4e62f0ee2902 /pango/pango-fontmap.h
parent6924489203c20e5462ed19ee714c53b02393f1b0 (diff)
downloadpango-14d4240a91655ab98896578f80f3f9273b4df799.tar.gz
Add autoptr cleanup funcs
Diffstat (limited to 'pango/pango-fontmap.h')
-rw-r--r--pango/pango-fontmap.h3
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__ */