src/Builder4/GtkView.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 29 Apr 2015 08:54:00 +0000 (16:54 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 29 Apr 2015 08:54:00 +0000 (16:54 +0800)
src/Builder4/GtkView.vala

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

index 46429e7..bea6a46 100644 (file)
@@ -76,7 +76,7 @@
          "$ xns" : "Gtk",
          "items" : [
           {
-           "gint n_columns" : 1,
+           "gint n_columns" : 4,
            "columns" : "  typeof(string), typeof(int), typeof(string), typeof(string) ",
            "* pack" : "set_model",
            "xtype" : "TreeStore",
index d9f59b2..f273c6f 100644 (file)
@@ -359,7 +359,7 @@ public class Xcls_GtkView : Object
         public Xcls_TreeStore10(Xcls_GtkView _owner )
         {
             _this = _owner;
-            this.el = new Gtk.TreeStore( 1,   typeof(string), typeof(int), typeof(string), typeof(string)  );
+            this.el = new Gtk.TreeStore( 4,   typeof(string), typeof(int), typeof(string), typeof(string)  );
 
             // my vars (dec)