diff options
author | portix <none@none> | 2012-10-23 01:00:42 +0200 |
---|---|---|
committer | portix <none@none> | 2012-10-23 01:00:42 +0200 |
commit | 1bf336e63e1c46a3005d1e4d555d294dd45a9af0 (patch) | |
tree | b55d987a4a31a07701a5f52c6b9fb5ad0dd553ae /src/view.c | |
parent | 371935c5857ff7440f2fd1e29d28c1bd2918e7cf (diff) | |
download | dwb-1bf336e63e1c46a3005d1e4d555d294dd45a9af0.zip |
Fixing element hider issues with webkit-1.10
Diffstat (limited to 'src/view.c')
-rw-r--r-- | src/view.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -635,7 +635,7 @@ view_load_status_after_cb(WebKitWebView *web, GParamSpec *pspec, GList *gl) { VIEW(gl)->hint_object = NULL; } VIEW(gl)->hint_object = js_create_object(webkit_web_view_get_main_frame(web), dwb.misc.hints); - js_call_as_function(webkit_web_view_get_main_frame(web), VIEW(gl)->hint_object, "init", dwb.misc.hint_style, NULL); + js_call_as_function(webkit_web_view_get_main_frame(web), VIEW(gl)->hint_object, "init", dwb.misc.hint_style, kJSTypeObject, NULL); } }/*}}}*/ /* view_load_status_cb {{{*/ @@ -659,7 +659,7 @@ view_load_status_cb(WebKitWebView *web, GParamSpec *pspec, GList *gl) { /* This is more or less a dummy call, to compile the script and speed up * execution time * */ - js_call_as_function(webkit_web_view_get_main_frame(web), v->hint_object, "createStyleSheet", NULL, NULL); + js_call_as_function(webkit_web_view_get_main_frame(web), v->hint_object, "createStyleSheet", NULL, kJSTypeUndefined, NULL); break; case WEBKIT_LOAD_COMMITTED: if (v->status->scripts & SCRIPTS_ALLOWED_TEMPORARY) { |