Only define adblock_prepare_urihider_js() if it is used
This commit is contained in:
parent
d85d2806be
commit
e6163a761f
1 changed files with 1 additions and 1 deletions
|
@ -636,6 +636,7 @@ adblock_is_matched (const gchar* opts,
|
||||||
return adblock_is_matched_by_pattern (req_uri, page_uri);
|
return adblock_is_matched_by_pattern (req_uri, page_uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if HAVE_WEBKIT_RESOURCE_REQUEST
|
||||||
static gchar*
|
static gchar*
|
||||||
adblock_prepare_urihider_js (const gchar* uri)
|
adblock_prepare_urihider_js (const gchar* uri)
|
||||||
{
|
{
|
||||||
|
@ -667,7 +668,6 @@ adblock_prepare_urihider_js (const gchar* uri)
|
||||||
return g_strdup_printf (js, uri);
|
return g_strdup_printf (js, uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAVE_WEBKIT_RESOURCE_REQUEST
|
|
||||||
static void
|
static void
|
||||||
adblock_resource_request_starting_cb (WebKitWebView* web_view,
|
adblock_resource_request_starting_cb (WebKitWebView* web_view,
|
||||||
WebKitWebFrame* web_frame,
|
WebKitWebFrame* web_frame,
|
||||||
|
|
Loading…
Reference in a new issue