diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-20 22:54:27 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-22 09:58:18 -0500 |
commit | 0b84e14251445de349038eca15d2559dfe25ae26 (patch) | |
tree | 7c731412f3e7029130f99eb063dc6099527b5dae /pango/pango-attributes.h | |
parent | a31741faf6e59737c561574c3a7679ea185f4154 (diff) | |
download | pango-0b84e14251445de349038eca15d2559dfe25ae26.tar.gz |
Add more autoptr definitions
Diffstat (limited to 'pango/pango-attributes.h')
-rw-r--r-- | pango/pango-attributes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h index 5ea6bd9e..f1bd5635 100644 --- a/pango/pango-attributes.h +++ b/pango/pango-attributes.h @@ -739,6 +739,10 @@ void pango_attr_iterator_get_font (PangoAttrIterator * PANGO_AVAILABLE_IN_1_2 GSList * pango_attr_iterator_get_attrs (PangoAttrIterator *iterator); +G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoAttribute, pango_attribute_destroy) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoAttrList, pango_attr_list_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoAttrIterator, pango_attr_iterator_destroy) + G_END_DECLS #endif /* __PANGO_ATTRIBUTES_H__ */ |