pinosaur
/
surf.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stupidy merge
[surf.git]
/
surf.c
diff --git
a/surf.c
b/surf.c
index
3146967
..
29bf8c6
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-348,11
+348,8
@@
loaduri(Client *c, const Arg *arg) {
void
navigate(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 *
}
Client *