aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/uzbl-core.c2
-rw-r--r--src/uzbl-core.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c
index d349ca4..693f3ce 100644
--- a/src/uzbl-core.c
+++ b/src/uzbl-core.c
@@ -783,7 +783,7 @@ load_uri(WebKitWebView *web_view, GArray *argv, GString *result) {
/* Javascript*/
void
-eval_js(WebKitWebView * web_view, gchar *script, GString *result, const char *file) {
+eval_js(WebKitWebView * web_view, const gchar *script, GString *result, const char *file) {
WebKitWebFrame *frame;
JSGlobalContextRef context;
JSObjectRef globalobject;
diff --git a/src/uzbl-core.h b/src/uzbl-core.h
index 38f356f..ce42408 100644
--- a/src/uzbl-core.h
+++ b/src/uzbl-core.h
@@ -293,7 +293,7 @@ void dehilight (WebKitWebView *page, GArray *argv, GString *result);
/* Javascript functions */
void run_js (WebKitWebView * web_view, GArray *argv, GString *result);
void run_external_js (WebKitWebView * web_view, GArray *argv, GString *result);
-void eval_js(WebKitWebView * web_view, gchar *script, GString *result, const gchar *script_file);
+void eval_js(WebKitWebView *web_view, const gchar *script, GString *result, const gchar *script_file);
/* Network functions */
void handle_authentication (SoupSession *session,