From 117cdb12d86d463b0e8515b42828320b283f64ef Mon Sep 17 00:00:00 2001 From: KH Lau Date: Thu, 8 Mar 2018 16:20:57 +0800 Subject: [PATCH] BrowserWindow.vala --- BrowserWindow.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BrowserWindow.vala b/BrowserWindow.vala index 374f983..c81076d 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); - this.cookie_file = file.get_path (); + print("cookie tmp file name: %s\n", file.get_path ()); OutputStream ostream = iostream.output_stream; -- 2.39.2