aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-adblock-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-adblock-manager.c')
-rw-r--r--embed/ephy-adblock-manager.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/embed/ephy-adblock-manager.c b/embed/ephy-adblock-manager.c
index 39bb8d9ff..dd627fddf 100644
--- a/embed/ephy-adblock-manager.c
+++ b/embed/ephy-adblock-manager.c
@@ -36,6 +36,8 @@ G_DEFINE_TYPE (EphyAdBlockManager, ephy_adblock_manager, G_TYPE_OBJECT);
#define EPHY_ADBLOCK_MANAGER_GET_PRIVATE(object) \
(G_TYPE_INSTANCE_GET_PRIVATE ((object), \
EPHY_TYPE_ADBLOCK_MANAGER, EphyAdBlockManagerPrivate))
+
+
/**
* ephy_adblock_manager_set_blocker:
* @shell: a #EphyAdBlockManager
@@ -95,6 +97,16 @@ ephy_adblock_manager_class_init (EphyAdBlockManagerClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ g_signal_new ("rules_changed",
+ G_OBJECT_CLASS_TYPE (object_class),
+ G_SIGNAL_RUN_FIRST,
+ G_STRUCT_OFFSET (EphyAdBlockManagerClass, rules_changed),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE,
+ 0,
+ 0);
+
g_type_class_add_private (object_class, sizeof (EphyAdBlockManagerPrivate));
}