summaryrefslogtreecommitdiff
path: root/pango/pango-attributes-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-attributes-private.h')
-rw-r--r--pango/pango-attributes-private.h11
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);