[pango/matthiasc/for-main: 4/4] font: Add more autoptr cleanup
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/matthiasc/for-main: 4/4] font: Add more autoptr cleanup
- Date: Tue, 31 Aug 2021 04:53:12 +0000 (UTC)
commit f1548d4ad38a962722dd48048d3ac2ea1409e4d0
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]