diff options
author | Gustavo Noronha Silva <gns@gnome.org> | 2009-09-08 23:25:13 +0800 |
---|---|---|
committer | Gustavo Noronha Silva <gns@gnome.org> | 2009-09-08 23:25:13 +0800 |
commit | afec9315ee9295ab6928ebde1c642e81f8a61290 (patch) | |
tree | e92a17390eb884c8c9269fbb53dec6d5b0b7cf0f /embed | |
parent | f5b9abb6365868fab0e4408a20907ee786789a5d (diff) | |
download | gsoc2013-epiphany-afec9315ee9295ab6928ebde1c642e81f8a61290.tar gsoc2013-epiphany-afec9315ee9295ab6928ebde1c642e81f8a61290.tar.gz gsoc2013-epiphany-afec9315ee9295ab6928ebde1c642e81f8a61290.tar.bz2 gsoc2013-epiphany-afec9315ee9295ab6928ebde1c642e81f8a61290.tar.lz gsoc2013-epiphany-afec9315ee9295ab6928ebde1c642e81f8a61290.tar.xz gsoc2013-epiphany-afec9315ee9295ab6928ebde1c642e81f8a61290.tar.zst gsoc2013-epiphany-afec9315ee9295ab6928ebde1c642e81f8a61290.zip |
Fixing style issues I introduced
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-embed.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index c024f7331..98c6d089c 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -204,18 +204,18 @@ 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)); - const char* uri = webkit_network_request_get_uri(request); + EphyAdBlockManager *adblock_manager = EPHY_ADBLOCK_MANAGER (ephy_embed_shell_get_adblock_manager (embed_shell)); + const char *uri = webkit_network_request_get_uri (request); /* FIXME: How do we implement the other CHECK_TYPEs? Perhaps we * should figure out a way of adding more information about what the * resource is for to WebResource? */ - if(!ephy_adblock_manager_should_load(adblock_manager, embed, uri, - AD_URI_CHECK_TYPE_OTHER)) { + if (!ephy_adblock_manager_should_load (adblock_manager, embed, uri, + AD_URI_CHECK_TYPE_OTHER)) { g_signal_emit_by_name (EPHY_WEB_VIEW (web_view), "content-blocked", uri); - webkit_network_request_set_uri(request, "about:blank"); + webkit_network_request_set_uri (request, "about:blank"); } } |