BrowserWindow.vala
authorKH Lau <khlau@roojs.com>
Thu, 8 Mar 2018 04:42:48 +0000 (12:42 +0800)
committerKH Lau <khlau@roojs.com>
Thu, 8 Mar 2018 04:42:48 +0000 (12:42 +0800)
BrowserWindow.vala

index a6ca2e1..09c77c1 100644 (file)
@@ -67,7 +67,7 @@ public class BrowserWindow : Object
                 cookie_manager.set_accept_policy(WebKit.CookieAcceptPolicy.ALWAYS);
                 string scheme = uri.get_scheme ();                
                 try {
-                                            File file = File.new_for_path(GLib.Environment.get_user_cache_dir() + '/cookie.txt' );
+                                            File file = File.new_for_path(GLib.Environment.get_user_cache_dir() + "/cookie.txt" );
                                             print("setting cookie file%s\n",file.get_path());
                              FileOutputStream ostream = file.replace (null, false, FileCreateFlags.NONE);
                              DataOutputStream dostream = new DataOutputStream (ostream);