Builder4/ValaProjectSettings.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 19 Nov 2014 11:25:24 +0000 (19:25 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 19 Nov 2014 11:25:24 +0000 (19:25 +0800)
Builder4/ValaProjectSettings.vala

Builder4/ValaProjectSettings.bjs
Builder4/ValaProjectSettings.vala

index ca80ad9..5b1e8f5 100644 (file)
                                                 },
                                                 {
                                                     "utf8 title" : "name",
-                                                    "* init" : " \n this.el.add_attribute(_this.targets_render.el , \"text\", 0 );\n  ",
+                                                    "* init" : " {\n     this.el.add_attribute(_this.targets_render.el , \"text\", 0 );\n }",
                                                     "* pack" : "append_column",
                                                     "xtype" : "TreeViewColumn",
                                                     "gboolean resizable" : true,
index 8c1849f..6211891 100644 (file)
@@ -1012,7 +1012,9 @@ public class ValaProjectSettings : Object
 
             // init method 
 
-            this.el.add_attribute(_this.targets_render.el , "text", 0 );        }
+            {
+                 this.el.add_attribute(_this.targets_render.el , "text", 0 );
+             }        }
 
         // user defined functions 
     }