]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
girparser: Don't add hidden symbols
authorLuca Bruno <lucabru@src.gnome.org>
Sun, 29 Aug 2010 13:28:42 +0000 (15:28 +0200)
committerEvan Nemerson <evan@coeus-group.com>
Mon, 8 Nov 2010 09:43:19 +0000 (01:43 -0800)
vala/valagirparser.vala

index 7a790246d0345c33f419cfc1fa430d3194ce25a4..fddfc203c08c613470d3f9a1ab11f03c9a8aa1c8 100644 (file)
@@ -891,7 +891,7 @@ public class Vala.GirParser : CodeVisitor {
 
                foreach (var infos in current_symbols_info.get_values ()) {
                        foreach (var info in infos) {
-                               if (merged.contains (info)) {
+                               if (merged.contains (info) || info.metadata.get_bool (ArgumentType.HIDDEN)) {
                                        continue;
                                }
                                if (!info.metadata.has_argument (ArgumentType.PARENT)) {