summaryrefslogtreecommitdiff
path: root/girepository/girparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'girepository/girparser.c')
-rw-r--r--girepository/girparser.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/girepository/girparser.c b/girepository/girparser.c
index 6c768669..fb6a18f1 100644
--- a/girepository/girparser.c
+++ b/girepository/girparser.c
@@ -3004,6 +3004,13 @@ start_element_handler (GMarkupParseContext *context,
goto out;
break;
+ case 's':
+ if (strcmp (element_name, "section") == 0)
+ {
+ state_switch (ctx, STATE_PASSTHROUGH);
+ goto out;
+ }
+
case 'u':
if (start_union (context, element_name,
attribute_names, attribute_values,