BrowserWindow.bjs
authoredward <edward@roojs.com>
Tue, 23 Aug 2016 06:11:35 +0000 (14:11 +0800)
committeredward <edward@roojs.com>
Tue, 23 Aug 2016 06:11:35 +0000 (14:11 +0800)
BrowserWindow.vala

BrowserWindow.bjs
BrowserWindow.vala

index baa1289..70ac59b 100644 (file)
@@ -2,7 +2,7 @@
  "name" : "BrowserWindow",
  "parent" : "",
  "title" : "",
- "path" : "/home/alan/gitlive/app.webkitpdf/BrowserWindow.bjs",
+ "path" : "/home/edward/gitlive/app.webkitpdf/BrowserWindow.bjs",
  "permname" : "",
  "modOrder" : "",
  "build_module" : "NEW GROUP",
index c44e6ec..938eb16 100644 (file)
@@ -21,11 +21,9 @@ public class BrowserWindow : Object
     public BrowserWindow()
     {
         _this = this;
-        this.el = new Gtk.Window( Gtk.WindowType.TOPLEVEL );
+        this.el = new Gtk.Window();
 
         // my vars (dec)
-
-        // set gobject values
         var child_0 = new Xcls_scrolled_window( _this );
         child_0.ref();
         this.el.add (  child_0.el  );
@@ -66,11 +64,9 @@ public class BrowserWindow : Object
         {
             _this = _owner;
             _this.scrolled_window = this;
-            this.el = new Gtk.ScrolledWindow( null, null );
+            this.el = new Gtk.ScrolledWindow();
 
             // my vars (dec)
-
-            // set gobject values
             var child_0 = new Xcls_view( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
@@ -91,7 +87,6 @@ public class BrowserWindow : Object
 
 
             // my vars (def)
-        public bool print_started;
 
         // ctor
         public Xcls_view(BrowserWindow _owner )
@@ -101,9 +96,6 @@ public class BrowserWindow : Object
             this.el = new WebKit.WebView();
 
             // my vars (dec)
-            this.print_started = false;
-
-            // set gobject values
 
             //listeners
             this.el.mime_type_policy_decision_requested.connect( (p0, netreq, mimetype, pol ) => {