From: Jürg Billeter Date: Tue, 14 Apr 2009 16:58:32 +0000 (+0200) Subject: vapigen: Fix constants X-Git-Tag: 0.7.1~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f3352bb444dae2b18ec2c4e4a516dbb991a7c98;p=thirdparty%2Fvala.git vapigen: Fix constants --- diff --git a/vapigen/valagidlparser.vala b/vapigen/valagidlparser.vala index 33805539e..a9fa7d0d2 100644 --- a/vapigen/valagidlparser.vala +++ b/vapigen/valagidlparser.vala @@ -1771,6 +1771,7 @@ public class Vala.GIdlParser : CodeVisitor { } var c = new Constant (node.name, type, null, current_source_reference); + c.external = true; string[] attributes = get_attributes (node.name); if (attributes != null) {