[pango/matthiasc/for-main: 5/5] font: Add more autoptr cleanup
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/matthiasc/for-main: 5/5] font: Add more autoptr cleanup
- Date: Tue, 31 Aug 2021 18:43:02 +0000 (UTC)
commit 7137a522094154281b4b328d4fa22df05b84aba5
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Aug 30 23:32:23 2021 -0400
font: Add more autoptr cleanup
pango/pango-font.h | 2 ++
1 file changed, 2 insertions(+)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]