From e6163a761f6891438221a53e8b214c7369800410 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Enrico=20Tr=C3=B6ger?= Date: Fri, 15 Jan 2010 06:15:48 +0100 Subject: [PATCH] Only define adblock_prepare_urihider_js() if it is used --- extensions/adblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/adblock.c b/extensions/adblock.c index 6abeeb1e..f89c16e7 100644 --- a/extensions/adblock.c +++ b/extensions/adblock.c @@ -636,6 +636,7 @@ adblock_is_matched (const gchar* opts, return adblock_is_matched_by_pattern (req_uri, page_uri); } +#if HAVE_WEBKIT_RESOURCE_REQUEST static gchar* adblock_prepare_urihider_js (const gchar* uri) { @@ -667,7 +668,6 @@ adblock_prepare_urihider_js (const gchar* uri) return g_strdup_printf (js, uri); } -#if HAVE_WEBKIT_RESOURCE_REQUEST static void adblock_resource_request_starting_cb (WebKitWebView* web_view, WebKitWebFrame* web_frame, -- 2.39.5