BrowserWindow.vala
[app.webkitpdf] / BrowserWindow.vala
index cb316c1..25a8a42 100644 (file)
@@ -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;