src/Builder4/ValaCompileErrors.bjs
authorAlan <alan@roojs.com>
Thu, 7 Jul 2022 10:38:21 +0000 (18:38 +0800)
committerAlan <alan@roojs.com>
Thu, 7 Jul 2022 10:38:21 +0000 (18:38 +0800)
src/Builder4/ValaCompileErrors.vala

src/Builder4/ValaCompileErrors.vala

index 3abca92..1704365 100644 (file)
@@ -15,13 +15,14 @@ public class Xcls_ValaCompileErrors : Object
     public Xcls_compile_view compile_view;
     public Xcls_compile_tree compile_tree;
     public Xcls_compile_result_store compile_result_store;
+    public Xcls_column column;
     public Xcls_renderer renderer;
 
         // my vars (def)
     public Xcls_MainWindow window;
-    public bool active;
-    public JsRender.JsRender? file;
     public Json.Object notices;
+    public JsRender.JsRender? file;
+    public bool active;
 
     // ctor
     public Xcls_ValaCompileErrors()
@@ -344,7 +345,7 @@ public class Xcls_ValaCompileErrors : Object
         {
             _this = _owner;
             _this.compile_result_store = this;
-            this.el = new Gtk.TreeStore( 4,   typeof(string), typeof(int), typeof(string), typeof(string)  );
+            this.el = new Gtk.TreeStore.newv(  {   typeof(string), typeof(int), typeof(string), typeof(string)  }  );
 
             // my vars (dec)
 
@@ -366,6 +367,7 @@ public class Xcls_ValaCompileErrors : Object
         public Xcls_column(Xcls_ValaCompileErrors _owner )
         {
             _this = _owner;
+            _this.column = this;
             this.el = new Gtk.TreeViewColumn();
 
             // my vars (dec)