summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/girparser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/girparser.c b/tools/girparser.c
index 8012ced2..fa7718ac 100644
--- a/tools/girparser.c
+++ b/tools/girparser.c
@@ -2035,6 +2035,7 @@ end_element_handler (GMarkupParseContext *context,
case STATE_OBJECT:
if (strcmp (element_name, "class") == 0)
{
+ ctx->current_node = NULL;
state_switch (ctx, STATE_NAMESPACE);
}
break;