From: Rico Tzschichholz Date: Tue, 27 Oct 2020 06:56:47 +0000 (+0100) Subject: libvaladoc/girimporter: Skip "docsection" elements in X-Git-Tag: 0.40.25~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4363ab45d0ce1c3c5d31cadb38242f26722c149f;p=thirdparty%2Fvala.git libvaladoc/girimporter: Skip "docsection" elements in See https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/226 --- diff --git a/libvaladoc/importer/girdocumentationimporter.vala b/libvaladoc/importer/girdocumentationimporter.vala index b03e2971c..12602f47c 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));