From aedd02c495065995a9f1ed9f0194fc562333812c Mon Sep 17 00:00:00 2001 From: Robert Timm Date: Fri, 12 May 2017 23:32:15 +0200 Subject: fixes :eval segfault (closes #397) --- src/ext-proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ext-proxy.c') diff --git a/src/ext-proxy.c b/src/ext-proxy.c index 4cdcaf7..f1e42e5 100644 --- a/src/ext-proxy.c +++ b/src/ext-proxy.c @@ -196,7 +196,7 @@ static void on_vertical_scroll(GDBusConnection *connection, void ext_proxy_eval_script(Client *c, char *js, GAsyncReadyCallback callback) { if (callback) { - dbus_call(c, "EvalJs", g_variant_new("(ts)", js, c->page_id), callback); + dbus_call(c, "EvalJs", g_variant_new("(ts)", c->page_id, js), callback); } else { dbus_call(c, "EvalJsNoResult", g_variant_new("(ts)", c->page_id, js), NULL); } -- cgit v1.2.3