summaryrefslogtreecommitdiff
path: root/pango/pango-font.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-30 23:32:23 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-31 14:41:28 -0400
commit7137a522094154281b4b328d4fa22df05b84aba5 (patch)
tree0b3b5d777d81fe2be77241afb7e0154970179ce3 /pango/pango-font.h
parentaefc5e509e5865779563c65fc9c9d0ae33b615ab (diff)
downloadpango-7137a522094154281b4b328d4fa22df05b84aba5.tar.gz
font: Add more autoptr cleanup
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r--pango/pango-font.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index 6b78c2ed..d4bded86 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -664,6 +664,8 @@ PangoLanguage ** pango_font_get_languages (PangoFont *font);
#endif
#endif
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontFamily, g_object_unref)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontFace, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFont, g_object_unref)
G_END_DECLS