GtkBuildableParser: Add a wrapper for GMarkupParser
authorAlexander Larsson <alexl@redhat.com>
Mon, 26 Aug 2019 20:28:18 +0000 (23:28 +0300)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 10 Sep 2019 16:07:15 +0000 (12:07 -0400)
commit135cea76fbe41cea7a83ebb3381bdc1410f8f9fb
tree83fa2157a2601ecf0104f347f5d3915cf36e193b
parentff087e126fb12cd3bb9f5d4322cf12fb654da00a
GtkBuildableParser: Add a wrapper for GMarkupParser

This currenly just wraps GMarkupParser, but the plan is to expose this
instead of GMarkup in the GtkBuildable interfaces, allowing us to
replace the parser with something that handles pre-parsed input
instead.

Note that we duplicate some of the features of GMarkup to implement
the APIs rather then call down to GMarkup, as we need to support these
in the pre-parsed case anyway.
gtk/gtkbuildable.h
gtk/gtkbuilderparser.c
gtk/gtkbuilderprivate.h