projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1252e59
)
BrowserWindow.vala
author
KH Lau
<khlau@roojs.com>
Fri, 9 Mar 2018 03:43:13 +0000
(11:43 +0800)
committer
KH Lau
<khlau@roojs.com>
Fri, 9 Mar 2018 03:43:13 +0000
(11:43 +0800)
BrowserWindow.vala
patch
|
blob
|
history
diff --git
a/BrowserWindow.vala
b/BrowserWindow.vala
index
b18c718
..
312ca55
100644
(file)
--- a/
BrowserWindow.vala
+++ b/
BrowserWindow.vala
@@
-463,14
+463,13
@@
public class BrowserWindow : Object
}
public void delete_cookiefile () {
}
public void delete_cookiefile () {
- // _this -> owner BrowserWindow
- // cookie_file is created by BrowserWindow
- if(_this.cookie_file.length >0 ){
- print("deleting tmp file %s\n",_this.cookie_file);
- File file = File.new_for_path (_this.cookie_file);
+
+ if(this.cookie_file.length >0 ){
+ print("deleting tmp file %s\n",this.cookie_file);
+ File file = File.new_for_path (this.cookie_file);
try {
if (file.query_exists () == true) {
try {
if (file.query_exists () == true) {
- file.delete ();
+ //file.delete ();
}
} catch (Error e) {
stdout.printf ("Error: %s\n", e.message);
}
} catch (Error e) {
stdout.printf ("Error: %s\n", e.message);