src/JsRender/NodeToGtk.vala
authorAlan Knowles <alan@roojs.com>
Tue, 3 Mar 2015 10:06:35 +0000 (18:06 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 3 Mar 2015 10:06:35 +0000 (18:06 +0800)
src/JsRender/NodeToGtk.vala

index 476b39f..6777d17 100644 (file)
@@ -8,7 +8,7 @@ public class JsRender.NodeToGtk : Object {
        Object wrapped_object; 
        NodeToGtk parentObj;
        
-       Gee.ArrayList<Object> children;
+       Gee.ArrayList<NodeToGtk> children;
        
        Gee.ArrayList<string> els;
         //Gee.ArrayList<string> skip;
@@ -19,7 +19,7 @@ public class JsRender.NodeToGtk : Object {
        {
                this.node = node;
                this.els = new Gee.ArrayList<string>(); 
-               this.children = new Gee.ArrayList<Object>(); 
+               this.children = new Gee.ArrayList<NodeToGtk>(); 
                //this.skip = new Gee.ArrayList<string>();
                this.ar_props = new Gee.HashMap<string,string>();
                this.parentObj = null;