diff options
author | Enno Boland (tox) <tox@s01.de> | 2009-09-06 14:12:10 +0200 |
---|---|---|
committer | Enno Boland (tox) <tox@s01.de> | 2009-09-06 14:12:10 +0200 |
commit | 839edbe22dbe789f56fb4383b5f348f0846d0a58 (patch) | |
tree | 7633eea6f6fc9f84becb467070e718ea5f34d2e6 /surf.c | |
parent | 4384cf198a38951839dfbd6abcab72d75076c593 (diff) |
reworked navigate.
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -348,11 +348,8 @@ loaduri(Client *c, const Arg *arg) { void navigate(Client *c, const Arg *arg) { - gboolean forward = *(gboolean *)arg; - if(forward) - webkit_web_view_go_forward(c->view); - else - webkit_web_view_go_back(c->view); + gint steps = *(gint *)arg; + webkit_web_view_can_go_back_or_forward(c->view, steps); } Client * |