diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-06-10 11:48:52 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-06-10 11:48:52 +0000 |
commit | e6b03b9f097552829acd7c54ce222c5dc7eb2b65 (patch) | |
tree | 2a0c1c637f078118cd884d956e139048d8ab22f2 /pango/pango-attributes-private.h | |
parent | 7abe91c208ce7f0c1f6e6c4b13df4de7a664ffa5 (diff) | |
parent | 1bb4e61c3285f95e01f13d70354716c11c27ce39 (diff) | |
download | pango-e6b03b9f097552829acd7c54ce222c5dc7eb2b65.tar.gz |
Merge branch 'wip/baedert/for-master' into 'master'
Wip/baedert/for master
See merge request GNOME/pango!194
Diffstat (limited to 'pango/pango-attributes-private.h')
-rw-r--r-- | pango/pango-attributes-private.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pango/pango-attributes-private.h b/pango/pango-attributes-private.h index b913cc2f..f7384fd0 100644 --- a/pango/pango-attributes-private.h +++ b/pango/pango-attributes-private.h @@ -22,8 +22,12 @@ struct _PangoAttrIterator { - GSList *next_attribute; - GList *attribute_stack; + GPtrArray *attrs; /* From the list */ + guint n_attrs; /* Copied from the list */ + + GPtrArray *attribute_stack; + + guint attr_index; guint start_index; guint end_index; }; @@ -31,8 +35,7 @@ struct _PangoAttrIterator struct _PangoAttrList { guint ref_count; - GSList *attributes; - GSList *attributes_tail; + GPtrArray *attributes; }; void _pango_attr_list_init (PangoAttrList *list); |