From 7271f446c39e0f581fa9ba62b90522ea870ee171 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 13:11:03 +0800 Subject: [PATCH] Clones.bjs Clones.vala --- Clones.bjs | 1 - Clones.vala | 8 +++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Clones.bjs b/Clones.bjs index 9356b0de..7d5b425f 100644 --- a/Clones.bjs +++ b/Clones.bjs @@ -23,7 +23,6 @@ "border_width" : 3, "items" : [ { - "id" : "Clones", "xtype" : "Box", "$ pack" : "get_content_area().add ", "$ xns" : "Gtk", diff --git a/Clones.vala b/Clones.vala index 066a3cd0..70438c0a 100644 --- a/Clones.vala +++ b/Clones.vala @@ -12,7 +12,6 @@ public class Clones : Object } return _Clones; } - public Xcls_Clones Clones; public Xcls_reposView reposView; public Xcls_reposStore reposStore; public Xcls_tv_autocommit tv_autocommit; @@ -46,7 +45,7 @@ public class Clones : Object this.el.default_width = 600; this.el.deletable = true; this.el.modal = true; - var child_0 = new Xcls_Clones( _this ); + var child_0 = new Xcls_Box2( _this ); child_0.ref(); this.el.get_content_area().add ( child_0.el ); var child_1 = new Xcls_ok_button( _this ); @@ -88,7 +87,7 @@ public class Clones : Object // return this.get('bug').getValue(); //this.success = c.success; } - public class Xcls_Clones : Object + public class Xcls_Box2 : Object { public Gtk.Box el; private Clones _this; @@ -97,10 +96,9 @@ public class Clones : Object // my vars (def) // ctor - public Xcls_Clones(Clones _owner ) + public Xcls_Box2(Clones _owner ) { _this = _owner; - _this.Clones = this; this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 ); // my vars (dec) -- 2.39.2