src/JsRender/NodeToVala.vala
authorAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 06:39:00 +0000 (14:39 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 06:39:00 +0000 (14:39 +0800)
src/JsRender/NodeToVala.vala

index dbf3007..fdf59dd 100644 (file)
@@ -222,6 +222,9 @@ public class JsRender.NodeToVala : Object {
                // class header..
                // class xxx {   WrappedGtk  el; }
                this.node.line_start = this.cur_line;
+               
+               this.top.node.setNodeLine(this.cur_line, this.node);
+               
                this.addLine(inpad + "public class " + this.xcls + " : Object");
                this.addLine(this.inpad + "{");