Seems like eval() is not needed for some time now.

The trivial patch against tip to remove it is attached.

--s_
diff -r e59e78e072e1 surf.c
--- a/surf.c    Fri Jul 06 00:59:17 2012 +0200
+++ b/surf.c    Fri Jul 06 01:04:04 2012 +0200
@@ -827,12 +827,6 @@
 }
 
 void
-eval(Client *c, const Arg *arg) {
-       WebKitWebFrame *frame = webkit_web_view_get_main_frame(c->view);
-       evalscript(webkit_web_frame_get_global_context(frame), ((char 
**)arg->v)[0], "");
-}
-
-void
 stop(Client *c, const Arg *arg) {
        webkit_web_view_stop_loading(c->view);
 }

Reply via email to