summaryrefslogtreecommitdiff
path: root/libvaladoc
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-10-27 07:56:47 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2020-10-27 07:56:47 +0100
commit46daf30def9f1ab6222d79e8d41340fedf81ad18 (patch)
treec835f6fe5c7ed0ddc93dca90859b2c1e5efa2f04 /libvaladoc
parent1d78426a2b172f0b0ba2f04d1f5c51ad75c82ef5 (diff)
downloadvala-46daf30def9f1ab6222d79e8d41340fedf81ad18.tar.gz
libvaladoc/girimporter: Skip "docsection" elements in <namespace>
See https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/226
Diffstat (limited to 'libvaladoc')
-rw-r--r--libvaladoc/importer/girdocumentationimporter.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvaladoc/importer/girdocumentationimporter.vala b/libvaladoc/importer/girdocumentationimporter.vala
index b94f64a96..b7d475043 100644
--- a/libvaladoc/importer/girdocumentationimporter.vala
+++ b/libvaladoc/importer/girdocumentationimporter.vala
@@ -289,6 +289,9 @@ public class Valadoc.Importer.GirDocumentationImporter : DocumentationImporter {
parse_union ();
} else if (reader.name == "constant") {
parse_constant ();
+ } else if (reader.name == "docsection") {
+ // TODO Add docs to namespace
+ skip_element ();
} else {
// error
error ("unknown child element `%s' in `namespace'".printf (reader.name));