Builder4/ValaProjectSettings.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 29 Oct 2014 09:33:11 +0000 (17:33 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 29 Oct 2014 09:33:11 +0000 (17:33 +0800)
Builder4/ValaProjectSettings.vala

Builder4/ValaProjectSettings.bjs
Builder4/ValaProjectSettings.vala

index 21d79d1..99caf99 100644 (file)
@@ -80,6 +80,7 @@
                                                 {
                                                     "* pack" : "set_model",
                                                     "xtype" : "ListStore",
+                                                    "$ n_columns" : 2,
                                                     "$ columns" : "    typeof(string),  // 0 key type\n     typeof(string) // ??\n     ",
                                                     "$ xns" : "Gtk"
                                                 }
index 77d04b8..a22b57e 100644 (file)
@@ -309,7 +309,7 @@ public class ValaProjectSettings : Object
         public Xcls_ListStore13(ValaProjectSettings _owner )
         {
             _this = _owner;
-            this.el = new Gtk.ListStore( 0,     typeof(string),  // 0 key type
+            this.el = new Gtk.ListStore( 2,     typeof(string),  // 0 key type
      typeof(string) // ??
       );