From 5173adc6a70bf38f9a5936dc19c2b8897022a323 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 29 Apr 2015 17:25:12 +0800 Subject: [PATCH] src/Builder4/GtkView.bjs src/Builder4/GtkView.vala --- src/Builder4/GtkView.bjs | 4 ++-- src/Builder4/GtkView.vala | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Builder4/GtkView.bjs b/src/Builder4/GtkView.bjs index 4ea483749..084775894 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" : "( 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", + "| 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", "$ xns" : "Gtk", "items" : [ { @@ -82,7 +82,7 @@ "* pack" : "set_model", "xtype" : "TreeStore", "$ xns" : "Gtk", - "| Gtk.TreePath nodeFindOrCreate" : "() {\n\n}\n" + "| Gtk.TreePath nodeFindOrCreate" : "(Gtk.TreePath? par, string id, string text) {\n return par;\n}\n" }, { "utf8 title" : "Compile output", diff --git a/src/Builder4/GtkView.vala b/src/Builder4/GtkView.vala index bea540abb..66ea75764 100644 --- a/src/Builder4/GtkView.vala +++ b/src/Builder4/GtkView.vala @@ -137,7 +137,7 @@ public class Xcls_GtkView : Object } - public void compileNotice ( string type, string file, int line, string message) { + public void compileNotice ( type, file, line, 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,8 +369,8 @@ public class Xcls_GtkView : Object } // user defined functions - public Gtk.TreePath nodeFindOrCreate () { - + public Gtk.TreePath nodeFindOrCreate (Gtk.TreePath? par, string id, string text) { + return par; } } public class Xcls_column : Object -- 2.39.2