[vala/switch-to-gir: 27/37] girparser: Don't add hidden symbols



commit bf66748966c609b39a78eb307caca52028593a7e
Author: Luca Bruno <lucabru src gnome org>
Date:   Sun Aug 29 15:28:42 2010 +0200

    girparser: Don't add hidden symbols

 vala/valagirparser.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index 95f0bde..a3dd364 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -889,7 +889,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)) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]