diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-01-31 09:36:07 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-01 19:37:21 -0500 |
commit | 9c0bd59b021e163eae191db95ce6beeb389cbd6f (patch) | |
tree | 1e6030b1baebe66c68877b038ca3444a12a50d96 /girepository | |
parent | 93cd5b208b19e7c532972b85a457518082e1fc2b (diff) | |
download | gobject-introspection-9c0bd59b021e163eae191db95ce6beeb389cbd6f.tar.gz |
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
Diffstat (limited to 'girepository')
-rw-r--r-- | girepository/girparser.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/girepository/girparser.c b/girepository/girparser.c index d1bc81f5..5aaa6dd0 100644 --- a/girepository/girparser.c +++ b/girepository/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); |