X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=BrowserWindow.vala;h=25a8a420b8548752a06b1a00f4db829cc53b3890;hb=844476985e1802ff6a09dc128c63f8b995f05ca4;hp=4ea1a2c20a4e43138e993167b3635e2a348009dd;hpb=cb4c3ffe006d145824a2366dc6f52c7c8b209d12;p=app.webkitpdf diff --git a/BrowserWindow.vala b/BrowserWindow.vala index 4ea1a2c..25a8a42 100644 --- a/BrowserWindow.vala +++ b/BrowserWindow.vala @@ -4,7 +4,7 @@ public class BrowserWindow : Object { public Gtk.Window el; private BrowserWindow _this; - + private string cookie_file; public static BrowserWindow singleton() { if (_BrowserWindow == null) { @@ -73,7 +73,7 @@ public class BrowserWindow : Object try { FileIOStream iostream; File file = File.new_tmp ("cookie-XXXXXX.txt", out iostream); - filename = file.get_path (); + this.cookie_file = file.get_path (); print("cookie tmp file name: %s\n", file.get_path ()); OutputStream ostream = iostream.output_stream; @@ -108,6 +108,7 @@ public class BrowserWindow : Object if (cd < 1) { print("calling printit - timed out"); _this.view.printit(); + return false; } return true;