From ee4ee72ac35feae16ae802bcdf57a87800c0bcbd Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 31 Jan 2013 09:36:07 -0500 Subject: [PATCH] girparser: Serialize and read back the instance_parameter g-ir-doc-tool wants to use the instance parameter to read docs and the parameter name, so it needs to be shuttled through the GIR. https://bugzilla.gnome.org/show_bug.cgi?id=693040 --- girparser.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/girparser.c b/girparser.c index d1bc81f5d..5aaa6dd0d 100644 --- a/girparser.c +++ b/girparser.c @@ -2831,6 +2831,11 @@ start_element_handler (GMarkupParseContext *context, attribute_names, attribute_values, ctx, error)) goto out; + else if (strcmp (element_name, "instance-parameter") == 0) + { + state_switch (ctx, STATE_PASSTHROUGH); + goto out; + } else if (strcmp (element_name, "c:include") == 0) { state_switch (ctx, STATE_C_INCLUDE);