From: Alan Knowles Date: Wed, 29 Apr 2015 09:24:03 +0000 (+0800) Subject: src/Builder4/GtkView.bjs X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=c7da7190eab17c2b81ebed72a5e02498291fb201;p=app.Builder.js src/Builder4/GtkView.bjs src/Builder4/GtkView.vala --- diff --git a/src/Builder4/GtkView.bjs b/src/Builder4/GtkView.bjs index 52a8b1369..4ea483749 100644 --- a/src/Builder4/GtkView.bjs +++ b/src/Builder4/GtkView.bjs @@ -20,7 +20,7 @@ "xtype" : "VPaned", "# JsRender.JsRender file" : "null", "int height" : 0, - "| void compileNotice" : "( type, file, line, message) {\n // if type = \"START\"... then we reset the tree?\n // the issue is that the compiler is continually going..\n // so editing a file etc.. may change things.?\n // probably not an issue.\n if (type ==\"START\") {\n // reset the tree;\n return;\n }\n \n \n \n}\n", + "| void compileNotice" : "( string type, string file, int line, string message) {\n // if type = \"START\"... then we reset the tree?\n // the issue is that the compiler is continually going..\n // so editing a file etc.. may change things.?\n // probably not an issue.\n if (type ==\"START\") {\n // reset the tree;\n return;\n }\n \n \n \n}\n", "$ xns" : "Gtk", "items" : [ { @@ -82,7 +82,7 @@ "* pack" : "set_model", "xtype" : "TreeStore", "$ xns" : "Gtk", - "| Gtk.TreePath nodeFindOrCreate" : "(string treepath, string id , string title) \n{\n \n\n}" + "| Gtk.TreePath nodeFindOrCreate" : "() {\n\n}\n" }, { "utf8 title" : "Compile output", diff --git a/src/Builder4/GtkView.vala b/src/Builder4/GtkView.vala index 0ba386426..bea540abb 100644 --- a/src/Builder4/GtkView.vala +++ b/src/Builder4/GtkView.vala @@ -137,7 +137,7 @@ public class Xcls_GtkView : Object } - public void compileNotice ( type, file, line, message) { + public void compileNotice ( string type, string file, int line, string message) { // if type = "START"... then we reset the tree? // the issue is that the compiler is continually going.. // so editing a file etc.. may change things.? @@ -369,9 +369,7 @@ public class Xcls_GtkView : Object } // user defined functions - public Gtk.TreePath nodeFindOrCreate (string treepath, string id , string title) - { - + public Gtk.TreePath nodeFindOrCreate () { } }