src/Builder4/GladeuiView.bjs
authorAlan <alan@roojs.com>
Mon, 30 May 2022 03:03:59 +0000 (11:03 +0800)
committerAlan <alan@roojs.com>
Mon, 30 May 2022 03:03:59 +0000 (11:03 +0800)
src/Builder4/GladeuiView.vala

src/Builder4/GladeuiView.bjs
src/Builder4/GladeuiView.vala

index e2bca2a..3b1cc37 100644 (file)
@@ -7,7 +7,7 @@
    "# JsRender.JsRender file" : "null",
    "# Xcls_MainWindow main_window" : "",
    "$ xns" : "Gtk",
-   "* args" : true,
+   "* args" : "Gtk.Window main_window",
    "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
    "Gtk.SourceSearchContext searchcontext" : "",
    "bool hexpand" : true,
index b62ec94..e51bd90 100644 (file)
@@ -29,7 +29,7 @@ public class Xcls_GladeuiView : Object
     public Xcls_MainWindow main_window;
 
     // ctor
-    public Xcls_GladeuiView(, true)
+    public Xcls_GladeuiView(, Gtk.Window main_window)
     {
         _this = this;
         this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );