summaryrefslogtreecommitdiff
path: root/pango/pango-item.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-11 11:31:43 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-11 15:19:17 -0400
commit4315d4f49b054e8d322fe87845bc3843f7523835 (patch)
tree5f4f544542319d1126ea58b80d3b8f3a4938aed0 /pango/pango-item.h
parente445b8978ea73ab60f5462af4403987d73300a1f (diff)
downloadpango-4315d4f49b054e8d322fe87845bc3843f7523835.tar.gz
Add pango_item_apply_attrs
This adds attrs that are overlapping the range of the item to the extra_attrs in the analysis.
Diffstat (limited to 'pango/pango-item.h')
-rw-r--r--pango/pango-item.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-item.h b/pango/pango-item.h
index cb6a7ed3..2d7e58a1 100644
--- a/pango/pango-item.h
+++ b/pango/pango-item.h
@@ -23,6 +23,7 @@
#define __PANGO_ITEM_H__
#include <pango/pango-types.h>
+#include <pango/pango-attributes.h>
G_BEGIN_DECLS
@@ -112,6 +113,9 @@ PANGO_AVAILABLE_IN_ALL
PangoItem *pango_item_split (PangoItem *orig,
int split_index,
int split_offset);
+PANGO_AVAILABLE_IN_1_44
+void pango_item_apply_attrs (PangoItem *item,
+ PangoAttrIterator *iter);
G_END_DECLS