diff options
author | portix <none@none> | 2012-10-23 01:40:04 +0200 |
---|---|---|
committer | portix <none@none> | 2012-10-23 01:40:04 +0200 |
commit | 78f702905ada582dbca9ec6fd7d0a7c7345fddf0 (patch) | |
tree | 577f417c0e6dd4528ad2a1049a01918ebc398098 /src/adblock.c | |
parent | 1bf336e63e1c46a3005d1e4d555d294dd45a9af0 (diff) | |
download | dwb-78f702905ada582dbca9ec6fd7d0a7c7345fddf0.zip |
Renaming hints.js -> base.js, hint_object -> js_base
--HG--
rename : scripts/hints.js => scripts/base.js
Diffstat (limited to 'src/adblock.c')
-rw-r--r-- | src/adblock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/adblock.c b/src/adblock.c index 6b59c4b5..4ca6023b 100644 --- a/src/adblock.c +++ b/src/adblock.c @@ -324,10 +324,10 @@ adblock_apply_element_hider(WebKitWebFrame *frame, GList *gl) { if (css_rule->str[css_rule->len-1] == ',') g_string_erase(css_rule, css_rule->len-1, 1); g_string_append(css_rule, "{display:none!important;}"); - js_call_as_function(frame, VIEW(gl)->hint_object, "insertAdblockRule", css_rule->str, kJSTypeString, NULL); + js_call_as_function(frame, VIEW(gl)->js_base, "insertAdblockRule", css_rule->str, kJSTypeString, NULL); } for (GSList *l = m_css_hider_list; l; l=l->next) - js_call_as_function(frame, VIEW(gl)->hint_object, "insertAdblockRule", l->data, kJSTypeString, NULL); + js_call_as_function(frame, VIEW(gl)->js_base, "insertAdblockRule", l->data, kJSTypeString, NULL); g_string_free(css_rule, true); }/*}}}*/ /*}}}*/ |