summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--surf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/surf.c b/surf.c
index 29bf8c6..21b0a9f 100644
--- a/surf.c
+++ b/surf.c
@@ -349,7 +349,7 @@ loaduri(Client *c, const Arg *arg) {
void
navigate(Client *c, const Arg *arg) {
gint steps = *(gint *)arg;
- webkit_web_view_can_go_back_or_forward(c->view, steps);
+ webkit_web_view_go_back_or_forward(c->view, steps);
}
Client *