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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/pango/pango-attributes-private.h b/pango/pango-attributes-private.h
index bf5bdade..e2b9a2d5 100644
--- a/pango/pango-attributes-private.h
+++ b/pango/pango-attributes-private.h
@@ -22,8 +22,13 @@
struct _PangoAttrIterator
{
+ GPtrArray *attrs; /* From the list */
+ guint n_attrs; /* Copied from the list */
+
GSList *next_attribute;
GPtrArray *attribute_stack;
+
+ guint attr_index;
guint start_index;
guint end_index;
};
@@ -31,7 +36,7 @@ struct _PangoAttrIterator
struct _PangoAttrList
{
guint ref_count;
- GSList *attributes;
+ GPtrArray *attributes;
};
void _pango_attr_list_init (PangoAttrList *list);