From: Jürg Billeter Date: Mon, 25 May 2009 08:49:48 +0000 (+0200) Subject: vapigen: Add accessor_method metadata for properties X-Git-Tag: 0.7.3~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=094de194caabbcd33c768d2356d734e14516a19b;p=thirdparty%2Fvala.git vapigen: Add accessor_method metadata for properties --- diff --git a/vapigen/valagidlparser.vala b/vapigen/valagidlparser.vala index a9fa7d0d2..dd8d82d20 100644 --- a/vapigen/valagidlparser.vala +++ b/vapigen/valagidlparser.vala @@ -1751,6 +1751,10 @@ public class Vala.GIdlParser : CodeVisitor { arg_type.value_owned = true; prop.property_type.add_type_argument (arg_type); } + } else if (nv[0] == "accessor_method") { + if (eval (nv[1]) == "0") { + prop.no_accessor_method = true; + } } } }