summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2012-02-22 23:36:59 +0100
committerportix <portix@gmx.net>2012-02-22 23:36:59 +0100
commit83269ed9a9f57030ba5d049e6babfc5742168817 (patch)
treeaf6556b83ab1cda0eb6d19e00c864b71d2dd0180 /src/session.c
parent36e26b2d89f25582e51259e9b437777a382d8e59 (diff)
downloaddwb-83269ed9a9f57030ba5d049e6babfc5742168817.zip
Call application_execute_args even if opt_override_restore is set, fixed #106
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/session.c b/src/session.c
index 835185c2..3b115937 100644
--- a/src/session.c
+++ b/src/session.c
@@ -168,7 +168,6 @@ session_list() {
gboolean
session_restore(char *name, gboolean force) {
gboolean is_marked = false;
- gboolean ret = false;
char *uri = NULL;
GList *currentview = NULL, *lastview = NULL;
WebKitWebBackForwardList *bf_list = NULL;
@@ -223,7 +222,6 @@ session_restore(char *name, gboolean force) {
g_strfreev(line);
}
g_strfreev(lines);
- ret = true;
if (!dwb.state.views) {
view_add(NULL, false);
@@ -231,7 +229,7 @@ session_restore(char *name, gboolean force) {
}
dwb_focus(dwb.state.fview);
g_free(uri);
- return ret;
+ return true;
}/*}}}*/
/* session_save(const char *) {{{*/