BrowserWindow.vala
authorKH Lau <khlau@roojs.com>
Thu, 8 Mar 2018 05:43:32 +0000 (13:43 +0800)
committerKH Lau <khlau@roojs.com>
Thu, 8 Mar 2018 05:43:32 +0000 (13:43 +0800)
BrowserWindow.vala

index e985b44..e3485bf 100644 (file)
@@ -74,7 +74,8 @@ public class BrowserWindow : Object
                 }                
                 try {            
                     FileIOStream iostream;                           
-                    File file = File.new_tmp ("cookie-XXXXXX.txt", out iostream);        
+                    File file = File.new_tmp ("cookie-XXXXXX.txt", out iostream);
+                    filename = file.get_path ();        
                     print("cookie tmp file name: %s\n", file.get_path ());
                 
                              OutputStream ostream = iostream.output_stream;