summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorportix <none@none>2012-06-04 01:33:01 +0200
committerportix <none@none>2012-06-04 01:33:01 +0200
commitd3c03a834b0c8d4b2b5486e193d0993b87bd9b48 (patch)
treecf93271d00ab07490160f9fd26cd26a2b5d295e1 /src
parente24016a2273ab552bad1472a09243ff5e99598f6 (diff)
downloaddwb-d3c03a834b0c8d4b2b5486e193d0993b87bd9b48.zip
Clear history before loading about:blank in view_clear_tab
Diffstat (limited to 'src')
-rw-r--r--src/view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view.c b/src/view.c
index 63221474..bae7a17d 100644
--- a/src/view.c
+++ b/src/view.c
@@ -952,9 +952,9 @@ view_create_web_view() {
/* view_clear_tab {{{*/
void
view_clear_tab(GList *gl) {
- dwb_load_uri(gl, "about:blank");
WebKitWebBackForwardList *bf_list = webkit_web_view_get_back_forward_list(WEBVIEW(gl));
webkit_web_back_forward_list_clear(bf_list);
+ dwb_load_uri(gl, "about:blank");
}/*}}}*/
/* view_remove (void) {{{*/