BrowserView.js
authorChris <chris@roojs.com>
Tue, 17 Sep 2013 05:56:21 +0000 (13:56 +0800)
committerChris <chris@roojs.com>
Tue, 17 Sep 2013 05:56:21 +0000 (13:56 +0800)
BrowserView.js

index 4861168..8dda03f 100644 (file)
@@ -134,8 +134,8 @@ BrowserView = new GType({
             print("load finished");
             tab.get_toolbar().set_progress(0);
             
-            print_r(this);
-            var mf = this.get_main_frame();
+            
+            var mf = _t.get_main_frame();
             var p = new Gtk.PrintOperation({ export_filename : '/home/chris/test_pdf/test.pdf' });
 
             print(mf.print_full(p, Gtk.PrintOperationAction.EXPORT));