diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-09-11 03:04:49 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-09-11 03:04:49 +0000 |
commit | b19ed06afbc88f37adf25f63ca52e0a73c00ee23 (patch) | |
tree | 1ef16385ebffdebe1a726434ec2312e99f17a399 /pango/pango-attributes.h | |
parent | 2ea04c9040af34b36ed4b1536fd08c5843467446 (diff) | |
download | pango-b19ed06afbc88f37adf25f63ca52e0a73c00ee23.tar.gz |
Fix bug where wrong attribute list was unreferenced.
Sun Sep 10 03:01:53 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_set_attributes): Fix
bug where wrong attribute list was unreferenced.
* pango/pango-attributes.[ch]: Add function
pango_attr_list_splice() to splice contents of one
attribute list into another attribute list.
* pango/pango-utils.h: Add include of pango-font.h since
it now depends on declarations from there.
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 abd901f5..70474184 100644 --- a/pango/pango-attributes.h +++ b/pango/pango-attributes.h @@ -149,6 +149,10 @@ void pango_attr_list_insert_before (PangoAttrList *list, PangoAttribute *attr); void pango_attr_list_change (PangoAttrList *list, PangoAttribute *attr); +void pango_attr_list_splice (PangoAttrList *list, + PangoAttrList *other, + gint pos, + gint len); PangoAttrIterator *pango_attr_list_get_iterator (PangoAttrList *list); void pango_attr_iterator_range (PangoAttrIterator *iterator, |