aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-base-embed.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2008-06-30 02:16:03 +0800
committerXan Lopez <xan@src.gnome.org>2008-06-30 02:16:03 +0800
commit83c145ca0bdf9c659f808a1485ad2f580c6b439f (patch)
tree7426741deeb238f64842250f7c8afe14c788f994 /embed/ephy-base-embed.c
parent3c310a6753141eb1a01acdacc3d2286080183d0f (diff)
downloadgsoc2013-epiphany-83c145ca0bdf9c659f808a1485ad2f580c6b439f.tar
gsoc2013-epiphany-83c145ca0bdf9c659f808a1485ad2f580c6b439f.tar.gz
gsoc2013-epiphany-83c145ca0bdf9c659f808a1485ad2f580c6b439f.tar.bz2
gsoc2013-epiphany-83c145ca0bdf9c659f808a1485ad2f580c6b439f.tar.lz
gsoc2013-epiphany-83c145ca0bdf9c659f808a1485ad2f580c6b439f.tar.xz
gsoc2013-epiphany-83c145ca0bdf9c659f808a1485ad2f580c6b439f.tar.zst
gsoc2013-epiphany-83c145ca0bdf9c659f808a1485ad2f580c6b439f.zip
embed: remove ephy_embed_can_go_forward.
Use WebKit API directly. svn path=/trunk/; revision=8306
Diffstat (limited to 'embed/ephy-base-embed.c')
-rw-r--r--embed/ephy-base-embed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/ephy-base-embed.c b/embed/ephy-base-embed.c
index 28a64008f..a5411b6bc 100644
--- a/embed/ephy-base-embed.c
+++ b/embed/ephy-base-embed.c
@@ -1106,6 +1106,7 @@ update_navigation_flags (EphyBaseEmbed *membed)
EphyBaseEmbedPrivate *priv = membed->priv;
EphyEmbed *embed = EPHY_EMBED (membed);
guint flags = 0;
+ WebKitWebView *web_view = EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed);
if (ephy_embed_can_go_up (embed)) {
flags |= EPHY_EMBED_NAV_UP;
@@ -1115,7 +1116,7 @@ update_navigation_flags (EphyBaseEmbed *membed)
flags |= EPHY_EMBED_NAV_BACK;
}
- if (ephy_embed_can_go_forward (embed)) {
+ if (webkit_web_view_can_go_forward (web_view)) {
flags |= EPHY_EMBED_NAV_FORWARD;
}