summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2008-08-07 20:25:41 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-08-07 20:25:41 +0000
commitfd6adb2da30032e8f339295d1c1821a96ddb2d3a (patch)
tree16cbf3ebdc6d0cc01c503361bf6b292f16588fdd
parent463f60774ec106f13a92e1827828db994b629b72 (diff)
downloadgobject-introspection-fd6adb2da30032e8f339295d1c1821a96ddb2d3a.tar.gz
Allow type for boxed field end tags too
svn path=/branches/gir-compiler/; revision=319
-rw-r--r--tools/girparser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/girparser.c b/tools/girparser.c
index 07dfb806..ed7ed53f 100644
--- a/tools/girparser.c
+++ b/tools/girparser.c
@@ -2156,6 +2156,8 @@ end_element_handler (GMarkupParseContext *context,
break;
case STATE_BOXED_FIELD:
+ if (strcmp ("type", element_name) == 0)
+ break;
if (require_end_element (context, "field", element_name, error))
{
state_switch (ctx, STATE_BOXED);