aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@igalia.com>2012-12-11 00:24:45 +0800
committerDiego Escalante Urrelo <diegoe@igalia.com>2012-12-11 01:08:40 +0800
commite65754da16f9af433cd90279b60855705855253a (patch)
tree1e9229965f9a2ff0552e202e2df91bee59dba928 /embed/ephy-embed.c
parent43587a75794e27225c71d485620f875b12338ac1 (diff)
downloadgsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar
gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.gz
gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.bz2
gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.lz
gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.xz
gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.zst
gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.zip
e-embed-shell: remove the embed_shell global
https://bugzilla.gnome.org/show_bug.cgi?id=683614
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r--embed/ephy-embed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 52a218087..7752f0497 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -249,7 +249,7 @@ resource_request_starting_cb (WebKitWebView *web_view,
WebKitNetworkResponse *response,
EphyEmbed *embed)
{
- EphyAdBlockManager *adblock_manager = EPHY_ADBLOCK_MANAGER (ephy_embed_shell_get_adblock_manager (embed_shell));
+ EphyAdBlockManager *adblock_manager = EPHY_ADBLOCK_MANAGER (ephy_embed_shell_get_adblock_manager (ephy_embed_shell_get_default ()));
const char *uri = webkit_network_request_get_uri (request);
/* FIXME: How do we implement the other CHECK_TYPEs? Perhaps we