From: Alan Knowles Date: Tue, 19 May 2015 05:46:02 +0000 (+0800) Subject: src/JsRender/NodeToVala.vala X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=07909c6df038fc661cf1c749ae8c26322ef8e2d0;p=app.Builder.js src/JsRender/NodeToVala.vala --- diff --git a/src/JsRender/NodeToVala.vala b/src/JsRender/NodeToVala.vala index 21e7d4eeb..7af15e7ff 100644 --- a/src/JsRender/NodeToVala.vala +++ b/src/JsRender/NodeToVala.vala @@ -62,7 +62,7 @@ public class JsRender.NodeToVala : Object { this.file = null; // initialize line data.. - node.line = this.cur_line; + node.line_start = this.cur_line; node.proplines = new Gee.HashMap(); node.listenlines = Gee.HashMap(); @@ -218,7 +218,7 @@ public class JsRender.NodeToVala : Object { // class header.. // class xxx { WrappedGtk el; } - this.node.line = this.cur_line; + this.node.line_start = this.cur_line; this.addLine(inpad + "public class " + this.xcls + " : Object \n" + this.inpad + "{"); @@ -814,7 +814,7 @@ public class JsRender.NodeToVala : Object { } if (this.depth < 1) { - this.ret+= this.inpad + "}\n"; + this.addLine(this.inpad + "}"); } }