From ef1c069edf8c59cc2e657da482d234cd3e6a7d92 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Wed, 17 Nov 2010 20:16:46 +0100 Subject: [PATCH] girparser: Skip priv fields --- vala/valagirparser.vala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala index 0ebca054..488390a4 100644 --- a/vala/valagirparser.vala +++ b/vala/valagirparser.vala @@ -1957,7 +1957,10 @@ public class Vala.GirParser : CodeVisitor { // first field is guaranteed to be the parent instance skip_element (); } else { - add_symbol_info (parse_field ()); + var field = parse_field (); + if (field.name != "priv") { + add_symbol_info (field); + } } first_field = false; } else if (reader.name == "property") { -- 2.11.4.GIT