Builder4/ValaProjectSettings.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 30 Oct 2014 10:54:01 +0000 (18:54 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 30 Oct 2014 10:54:01 +0000 (18:54 +0800)
Builder4/ValaProjectSettings.vala

Builder4/ValaProjectSettings.bjs
Builder4/ValaProjectSettings.vala

index 0019cc5..74f0003 100644 (file)
@@ -94,7 +94,7 @@
                                                 },
                                                 {
                                                     "utf8 title" : "use",
-                                                    "* init" : " this.el.add_attribute(_this.packages_render_use.el , \"value\", 2 );\n\n  ",
+                                                    "* init" : "{\n this.el.add_attribute(_this.packages_render_use.el , \"value\", 2 );\n }",
                                                     "* pack" : "append_column",
                                                     "xtype" : "TreeViewColumn",
                                                     "gboolean resizable" : true,
index 211aab9..fbbf93d 100644 (file)
@@ -411,7 +411,9 @@ public class ValaProjectSettings : Object
 
             // init method 
 
-            this.el.add_attribute(_this.packages_render_use.el , "value", 2 );        }
+            {
+             this.el.add_attribute(_this.packages_render_use.el , "value", 2 );
+             }        }
 
         // user defined functions 
     }