aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@gnome.org>2009-01-15 08:52:10 +0800
committerGustavo Noronha Silva <kov@debian.org>2009-05-30 00:15:59 +0800
commitf1785bf92adafcf633a22152c4eb38dcba1ab319 (patch)
tree958c2d75236d84172016efe042f84c5da84fd85d /src
parent0ce6fe842a2fc4c3155452f69247cdda97ab09d1 (diff)
downloadgsoc2013-epiphany-f1785bf92adafcf633a22152c4eb38dcba1ab319.tar
gsoc2013-epiphany-f1785bf92adafcf633a22152c4eb38dcba1ab319.tar.gz
gsoc2013-epiphany-f1785bf92adafcf633a22152c4eb38dcba1ab319.tar.bz2
gsoc2013-epiphany-f1785bf92adafcf633a22152c4eb38dcba1ab319.tar.lz
gsoc2013-epiphany-f1785bf92adafcf633a22152c4eb38dcba1ab319.tar.xz
gsoc2013-epiphany-f1785bf92adafcf633a22152c4eb38dcba1ab319.tar.zst
gsoc2013-epiphany-f1785bf92adafcf633a22152c4eb38dcba1ab319.zip
Remove LoadFlags
They were used, it seems, to decide whether to allow Gecko to "fix" the URL. WebKit has no such facility, and we are already doing our own handling of URI normalization.
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)
{