summaryrefslogtreecommitdiff
path: root/pango/pango-attributes.h
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2012-07-02 22:07:33 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2012-12-14 02:03:43 -0500
commit29020c71a21e3c666cf8bc92972d8c0ef46b9a9e (patch)
treedf09fb2c4d9b80ca6a196fa86213ff15b7d0df03 /pango/pango-attributes.h
parent25d42226b50862a44ac91eba10511465fca61332 (diff)
downloadpango-29020c71a21e3c666cf8bc92972d8c0ef46b9a9e.tar.gz
markup: Allow incrementally parsing pango markup
This is intended for applications that need to parse pango markup from some sort of GIO stream. https://bugzilla.gnome.org/show_bug.cgi?id=679299
Diffstat (limited to 'pango/pango-attributes.h')
-rw-r--r--pango/pango-attributes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h
index 88b7d2d7..7cd80d8b 100644
--- a/pango/pango-attributes.h
+++ b/pango/pango-attributes.h
@@ -293,6 +293,14 @@ gboolean pango_parse_markup (const char *markup_text,
gunichar *accel_char,
GError **error);
+GMarkupParseContext * pango_markup_parser_new (gunichar accel_marker,
+ GError **error);
+gboolean pango_markup_parser_finish (GMarkupParseContext *context,
+ PangoAttrList **attr_list,
+ char **text,
+ gunichar *accel_char,
+ GError **error);
+
G_END_DECLS
#endif /* __PANGO_ATTRIBUTES_H__ */