summaryrefslogtreecommitdiff
path: root/vala/valaarrayresizemethod.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2007-07-17 22:36:46 +0000
committerJürg Billeter <juergbi@src.gnome.org>2007-07-17 22:36:46 +0000
commit5301e466a2cee4e6a8592f3b9dd3c65bf6f8b7a8 (patch)
treea4326b29f124e5db979bfe829db61ddfb6cd7c47 /vala/valaarrayresizemethod.vala
parentefb727504c4c35ddf9067586cfd6bb882e8b1438 (diff)
downloadvala-5301e466a2cee4e6a8592f3b9dd3c65bf6f8b7a8.tar.gz
convert the CodeContext.get_root method to a property
2007-07-17 Juerg Billeter <j@bitron.ch> * vala/valaarraylengthfield.vala, vala/valaarrayresizemethod.vala, vala/valacodecontext.vala, vala/valasemanticanalyzer.vala, vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala, gobject/valacodegenerator.vala: convert the CodeContext.get_root method to a property svn path=/trunk/; revision=361
Diffstat (limited to 'vala/valaarrayresizemethod.vala')
-rw-r--r--vala/valaarrayresizemethod.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valaarrayresizemethod.vala b/vala/valaarrayresizemethod.vala
index d2a5bf51a..e8b1eac1a 100644
--- a/vala/valaarrayresizemethod.vala
+++ b/vala/valaarrayresizemethod.vala
@@ -31,7 +31,7 @@ public class Vala.ArrayResizeMethod : Method {
set_cname ("g_renew");
- var root_symbol = source_reference.file.context.get_root ();
+ var root_symbol = source_reference.file.context.root;
var int_type = new TypeReference ();
int_type.data_type = (DataType) root_symbol.lookup ("int").node;