aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-shell.c11
-rw-r--r--src/ephy-window.c12
2 files changed, 1 insertions, 22 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index b0339207e..1052b59d3 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -520,19 +520,8 @@ ephy_shell_new_tab_full (EphyShell *shell,
}
else if (flags & EPHY_NEW_TAB_OPEN_PAGE)
{
- EphyEmbedLoadFlags load_flags = 0;
-
g_assert (request != NULL);
- if (flags & EPHY_NEW_TAB_ALLOW_FIXUP)
- {
- load_flags = EPHY_EMBED_LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP;
- }
- else
- {
- load_flags = EPHY_EMBED_LOAD_FLAGS_NONE;
- }
-
ephy_web_view_load_request (EPHY_WEB_VIEW (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed)),
request);
is_empty = url_is_empty (webkit_network_request_get_uri (request));
diff --git a/src/ephy-window.c b/src/ephy-window.c
index ca926c4de..68b0573ba 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3599,17 +3599,7 @@ ephy_window_open_link (EphyLink *link,
}
else
{
- if (flags & EPHY_LINK_ALLOW_FIXUP)
- {
- ephy_embed_load (embed,
- address,
- EPHY_EMBED_LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP,
- NULL);
- }
- else
- {
- ephy_embed_load_url (embed, address);
- }
+ ephy_embed_load_url (embed, address);
if (address == NULL || address[0] == '\0' || strcmp (address, "about:blank") == 0)
{