]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Genie: Fix accessibility of Enums
authorJamie McCracken <jamie.mccrack@gmail.com>
Tue, 28 Sep 2010 03:30:30 +0000 (23:30 -0400)
committerJamie McCracken <jamie.mccrack@gmail.com>
Tue, 28 Sep 2010 03:30:30 +0000 (23:30 -0400)
vala/valagenieparser.vala

index 36a8d524038296bdb62770f6820059888bdeeab0..4087a370ecd6f8934748f6097d4eac5307b08cc6 100644 (file)
@@ -3409,6 +3409,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                        }
 
                        var ev = new EnumValue (id, value, get_src (value_begin), comment);
+                       ev.access = SymbolAccessibility.PUBLIC;
                        set_attributes (ev, value_attrs);
 
                        en.add_value (ev);