src/Builder4/GtkView.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 29 Apr 2015 09:29:43 +0000 (17:29 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 29 Apr 2015 09:29:43 +0000 (17:29 +0800)
src/Builder4/GtkView.vala

src/Builder4/GtkView.bjs
src/Builder4/GtkView.vala

index 59d615f..ce6dfb1 100644 (file)
@@ -82,7 +82,7 @@
            "* pack" : "set_model",
            "xtype" : "TreeStore",
            "$ xns" : "Gtk",
-           "| Gtk.TreePath nodeFindOrCreate" : "() {\n\n}\n"
+           "| Gtk.TreePath nodeFindOrCreate" : "() {\n    return new Gtk.TreePath();\n}\n"
           },
           {
            "utf8 title" : "Compile output",
index deb3264..e940846 100644 (file)
@@ -370,7 +370,7 @@ public class Xcls_GtkView : Object
 
         // user defined functions 
         public Gtk.TreePath nodeFindOrCreate () {
-        
+            return new Gtk.TreePath();
         }
     }
     public class Xcls_column : Object