[valadoc] gir: ignore type struct docs
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] gir: ignore type struct docs
- Date: Tue, 2 Sep 2014 17:17:15 +0000 (UTC)
commit faeaecd49a7c17ec7631cec7a859933976ed7068
Author: Florian Brosch <flo brosch gmail com>
Date: Tue Aug 26 02:48:28 2014 +0200
gir: ignore type struct docs
.../importer/girdocumentationimporter.vala | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/libvaladoc/importer/girdocumentationimporter.vala
b/src/libvaladoc/importer/girdocumentationimporter.vala
index 4186c27..9984dd5 100644
--- a/src/libvaladoc/importer/girdocumentationimporter.vala
+++ b/src/libvaladoc/importer/girdocumentationimporter.vala
@@ -510,10 +510,13 @@ public class Valadoc.Importer.GirDocumentationImporter : DocumentationImporter {
return ;
}
+ bool is_type_struct = (reader.get_attribute ("glib:is-gtype-struct-for") != null);
next ();
Api.GirSourceComment? comment = parse_symbol_doc ();
- attach_comment (this.parent_c_identifier, comment);
+ if (is_type_struct == false) {
+ attach_comment (this.parent_c_identifier, comment);
+ }
while (current_token == MarkupTokenType.START_ELEMENT) {
if (reader.name == "field") {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]