diff options
author | Jürg Billeter <j@bitron.ch> | 2009-10-12 20:15:09 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2009-10-12 20:15:09 +0200 |
commit | 5c4bcf9aba99cbb7bd3fd0215750532733b221d1 (patch) | |
tree | 37f5587aa06c264cb0f9da0dd10d094a8cdceb10 /vala/valaswitchstatement.vala | |
parent | 04a8e745c78d3d2ccd84574d1a5f91481099cb3f (diff) | |
download | vala-5c4bcf9aba99cbb7bd3fd0215750532733b221d1.tar.gz |
Do not use Gee namespace to avoid conflict with libgee
Diffstat (limited to 'vala/valaswitchstatement.vala')
-rw-r--r-- | vala/valaswitchstatement.vala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vala/valaswitchstatement.vala b/vala/valaswitchstatement.vala index d1468e5a8..1b8937ed2 100644 --- a/vala/valaswitchstatement.vala +++ b/vala/valaswitchstatement.vala @@ -21,7 +21,6 @@ */ using GLib; -using Gee; /** * Represents a switch selection statement in the source code. @@ -41,7 +40,7 @@ public class Vala.SwitchStatement : CodeNode, Statement { } private Expression _expression; - private Gee.List<SwitchSection> sections = new ArrayList<SwitchSection> (); + private List<SwitchSection> sections = new ArrayList<SwitchSection> (); /** * Creates a new switch statement. @@ -70,7 +69,7 @@ public class Vala.SwitchStatement : CodeNode, Statement { * * @return section list */ - public Gee.List<SwitchSection> get_sections () { + public List<SwitchSection> get_sections () { return new ReadOnlyList<SwitchSection> (sections); } |