aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-adblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-adblock.c')
-rw-r--r--lib/ephy-adblock.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/ephy-adblock.c b/lib/ephy-adblock.c
index 9ba768c4b..4307737df 100644
--- a/lib/ephy-adblock.c
+++ b/lib/ephy-adblock.c
@@ -59,3 +59,15 @@ ephy_adblock_should_load (EphyAdBlock *adblock,
return TRUE;
}
+
+void
+ephy_adblock_edit_rule (EphyAdBlock *adblock,
+ const char *url,
+ gboolean allowed)
+{
+ EphyAdBlockIface *iface = EPHY_ADBLOCK_GET_IFACE (adblock);
+ if (iface->edit_rule)
+ {
+ iface->edit_rule (adblock, url, allowed);
+ }
+}