aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-adblock.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2013-03-05 19:58:04 +0800
committerCarlos Garcia Campos <carlosgc@gnome.org>2013-03-06 19:48:14 +0800
commitc450d2e819340175b6db5804208154f0382fc0fc (patch)
tree1b280458557f2ed50be86853e08435aac2536dbb /embed/ephy-adblock.c
parent1000c061d19a4d25cd9891655356ab17b80c0ed2 (diff)
downloadgsoc2013-epiphany-c450d2e819340175b6db5804208154f0382fc0fc.tar
gsoc2013-epiphany-c450d2e819340175b6db5804208154f0382fc0fc.tar.gz
gsoc2013-epiphany-c450d2e819340175b6db5804208154f0382fc0fc.tar.bz2
gsoc2013-epiphany-c450d2e819340175b6db5804208154f0382fc0fc.tar.lz
gsoc2013-epiphany-c450d2e819340175b6db5804208154f0382fc0fc.tar.xz
gsoc2013-epiphany-c450d2e819340175b6db5804208154f0382fc0fc.tar.zst
gsoc2013-epiphany-c450d2e819340175b6db5804208154f0382fc0fc.zip
uri-tester: Receive the base data dir as construct property instead of using ephy_dot_dir()
This removes the dependency of ephy-file-helpers from uri-tester, that will make easier to use it from a WebKit2 web extension https://bugzilla.gnome.org/show_bug.cgi?id=695205
Diffstat (limited to 'embed/ephy-adblock.c')
-rw-r--r--embed/ephy-adblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-adblock.c b/embed/ephy-adblock.c
index 7a06ff8c6..6b26b7f6f 100644
--- a/embed/ephy-adblock.c
+++ b/embed/ephy-adblock.c
@@ -50,7 +50,7 @@ ephy_adblock_init (EphyAdBlock *adblock)
LOG ("EphyAdblock initialising");
adblock->priv = EPHY_ADBLOCK_GET_PRIVATE (adblock);
- adblock->priv->tester = uri_tester_new ();
+ adblock->priv->tester = uri_tester_new (ephy_dot_dir ());
}
static void