From 317359dbd35bdc07a7e33f9abb642df5ff9e0a17 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Fri, 22 Mar 2013 10:13:09 +0100 Subject: ephy-shell: remove non-WebKit2 bits for adblock manager This does not exist anymore. --- src/ephy-shell.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 252a4cbaf..c53270ba8 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -23,9 +23,6 @@ #include "config.h" #include "ephy-shell.h" -#ifndef HAVE_WEBKIT2 -#include "ephy-adblock-manager.h" -#endif #include "ephy-bookmarks-editor.h" #include "ephy-bookmarks-import.h" #include "ephy-debug.h" @@ -525,11 +522,6 @@ ephy_shell_constructed (GObject *object) /* FIXME: not sure if this is the best place to put this stuff. */ ephy_shell_get_lockdown (EPHY_SHELL (object)); -#ifndef HAVE_WEBKIT2 - if (ephy_embed_shell_get_mode (EPHY_EMBED_SHELL (object)) != EPHY_EMBED_SHELL_MODE_TEST) - ephy_embed_shell_get_adblock_manager (EPHY_EMBED_SHELL (object)); -#endif - if (G_OBJECT_CLASS (ephy_shell_parent_class)->constructed) G_OBJECT_CLASS (ephy_shell_parent_class)->constructed (object); } -- cgit v1.2.3