From: Alan Knowles Date: Mon, 30 May 2016 10:35:28 +0000 (+0800) Subject: src/Builder4/WindowLeftTree.bjs X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=c271652771b8710209e4cb132f6e53174b6ec06f src/Builder4/WindowLeftTree.bjs src/Builder4/WindowLeftTree.vala --- diff --git a/src/Builder4/WindowLeftTree.bjs b/src/Builder4/WindowLeftTree.bjs index 082d12f5c..a37822282 100644 --- a/src/Builder4/WindowLeftTree.bjs +++ b/src/Builder4/WindowLeftTree.bjs @@ -51,7 +51,7 @@ "# bool drag_in_motion" : "", "# bool blockChanges" : false, "$ xns" : "Gtk", - "| return_type XXXX" : "() {\n\n}\n", + "| void setCursor" : "() {\n\n}\n", "| void selectNode" : "(string treepath_str, string source) {\n\tthis.lastEventSource = source;\n //this.selection.select_path(new Gtk.TreePath.from_string( treepath_str));\n var tp = new Gtk.TreePath.from_string(treepath_str);\n \n this.el.set_cursor(tp, null, false); \n this.el.scroll_to_cell(tp, null, false, 0,0);\n}\n", "items" : [ { diff --git a/src/Builder4/WindowLeftTree.vala b/src/Builder4/WindowLeftTree.vala index f56a2985b..f574d6394 100644 --- a/src/Builder4/WindowLeftTree.vala +++ b/src/Builder4/WindowLeftTree.vala @@ -829,7 +829,7 @@ public class Xcls_WindowLeftTree : Object } } - public return_type XXXX () { + public void setCursor () { } public void selectNode (string treepath_str, string source) {