X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=surf.c;h=21b0a9feb6336a30915fb629d747a076774b3279;hb=4156e0aa51ae1e8925537aa4814acfb6eed4923b;hp=b7e6dd03db1ad9d38e11877834ae599b07c4d69f;hpb=c9e8b5ab5af23b447a0a6fca85366eed84d8dc7a;p=surf.git diff --git a/surf.c b/surf.c index b7e6dd0..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(WebKitWebView *web_view, steps); + webkit_web_view_go_back_or_forward(c->view, steps); } Client *