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/valaswitchsection.vala | |
parent | 04a8e745c78d3d2ccd84574d1a5f91481099cb3f (diff) | |
download | vala-5c4bcf9aba99cbb7bd3fd0215750532733b221d1.tar.gz |
Do not use Gee namespace to avoid conflict with libgee
Diffstat (limited to 'vala/valaswitchsection.vala')
-rw-r--r-- | vala/valaswitchsection.vala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vala/valaswitchsection.vala b/vala/valaswitchsection.vala index 929e05650..7b7cc9544 100644 --- a/vala/valaswitchsection.vala +++ b/vala/valaswitchsection.vala @@ -21,13 +21,12 @@ */ using GLib; -using Gee; /** * Represents a switch section in the source code. */ public class Vala.SwitchSection : Block { - private Gee.List<SwitchLabel> labels = new ArrayList<SwitchLabel> (); + private List<SwitchLabel> labels = new ArrayList<SwitchLabel> (); /** * Creates a new switch section. @@ -54,7 +53,7 @@ public class Vala.SwitchSection : Block { * * @return switch label list */ - public Gee.List<SwitchLabel> get_labels () { + public List<SwitchLabel> get_labels () { return new ReadOnlyList<SwitchLabel> (labels); } |