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



commit e4a52a74c43b257bf9c8b8ded2180f808e44a34e
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 179c21f..1bb081a 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -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)) {



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