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/valacodenode.vala | |
parent | 04a8e745c78d3d2ccd84574d1a5f91481099cb3f (diff) | |
download | vala-5c4bcf9aba99cbb7bd3fd0215750532733b221d1.tar.gz |
Do not use Gee namespace to avoid conflict with libgee
Diffstat (limited to 'vala/valacodenode.vala')
-rw-r--r-- | vala/valacodenode.vala | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/vala/valacodenode.vala b/vala/valacodenode.vala index bcee17efe..d42462396 100644 --- a/vala/valacodenode.vala +++ b/vala/valacodenode.vala @@ -21,7 +21,6 @@ */ using GLib; -using Gee; /** * Represents a part of the parsed source code. @@ -82,8 +81,8 @@ public abstract class Vala.CodeNode { get { return _error_types != null && _error_types.size > 0; } } - private Gee.List<DataType> _error_types; - private static Gee.List<DataType> _empty_type_list; + private List<DataType> _error_types; + private static List<DataType> _empty_type_list; private CCodeNode? _ccodenode; @@ -92,7 +91,7 @@ public abstract class Vala.CodeNode { /** * Specifies the exceptions that can be thrown by this node or a child node */ - public Gee.List<DataType> get_error_types () { + public List<DataType> get_error_types () { if (_error_types != null) { return _error_types; } @@ -118,7 +117,7 @@ public abstract class Vala.CodeNode { * Adds a collection of error types to the exceptions that can be thrown by this node * or a child node */ - public void add_error_types (Gee.List<DataType> error_types) { + public void add_error_types (List<DataType> error_types) { foreach (DataType error_type in error_types) { add_error_type (error_type); } |