diff options
author | Xan Lopez <xan@src.gnome.org> | 2008-06-30 02:15:58 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2008-06-30 02:15:58 +0800 |
commit | 3c310a6753141eb1a01acdacc3d2286080183d0f (patch) | |
tree | 5036770a58801aef362136ae893fcb7cd0151f7f /embed | |
parent | 21608abec6b897869c73009d5ffaf2e4a6a5bf90 (diff) | |
download | gsoc2013-epiphany-3c310a6753141eb1a01acdacc3d2286080183d0f.tar.gz gsoc2013-epiphany-3c310a6753141eb1a01acdacc3d2286080183d0f.tar.zst gsoc2013-epiphany-3c310a6753141eb1a01acdacc3d2286080183d0f.zip |
embed: remove ephy_embed_go_forward.
Use WebKit API directly.
svn path=/trunk/; revision=8305
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-embed.c | 14 | ||||
-rw-r--r-- | embed/ephy-embed.h | 3 | ||||
-rw-r--r-- | embed/webkit/webkit-embed.c | 7 |
3 files changed, 0 insertions, 24 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index 1b12e55e3..e01d057b9 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -469,20 +469,6 @@ ephy_embed_get_go_up_list (EphyEmbed *embed) } /** - * ephy_embed_go_forward: - * @embed: an #EphyEmbed - * - * If @embed has returned to a previously-visited web page, proceed forward to - * the next page. - **/ -void -ephy_embed_go_forward (EphyEmbed *embed) -{ - EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed); - iface->go_forward (embed); -} - -/** * ephy_embed_go_up: * @embed: an #EphyEmbed * diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h index 0fbd42ca9..7c0a3461f 100644 --- a/embed/ephy-embed.h +++ b/embed/ephy-embed.h @@ -174,7 +174,6 @@ struct _EphyEmbedIface gboolean (* can_go_forward) (EphyEmbed *embed); gboolean (* can_go_up) (EphyEmbed *embed); GSList * (* get_go_up_list) (EphyEmbed *embed); - void (* go_forward) (EphyEmbed *embed); void (* go_up) (EphyEmbed *embed); const char * (* get_title) (EphyEmbed *embed); char * (* get_location) (EphyEmbed *embed, @@ -273,8 +272,6 @@ gboolean ephy_embed_can_go_up (EphyEmbed *embed); GSList *ephy_embed_get_go_up_list (EphyEmbed *embed); -void ephy_embed_go_forward (EphyEmbed *embed); - void ephy_embed_go_up (EphyEmbed *embed); void ephy_embed_shistory_copy (EphyEmbed *source, diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c index 1acd93930..b9728c59a 100644 --- a/embed/webkit/webkit-embed.c +++ b/embed/webkit/webkit-embed.c @@ -390,12 +390,6 @@ impl_get_go_up_list (EphyEmbed *embed) } static void -impl_go_forward (EphyEmbed *embed) -{ - webkit_web_view_go_forward (WEBKIT_EMBED (embed)->priv->web_view); -} - -static void impl_go_up (EphyEmbed *embed) { } @@ -576,7 +570,6 @@ ephy_embed_iface_init (EphyEmbedIface *iface) iface->can_go_forward =impl_can_go_forward; iface->can_go_up = impl_can_go_up; iface->get_go_up_list = impl_get_go_up_list; - iface->go_forward = impl_go_forward; iface->go_up = impl_go_up; iface->get_location = impl_get_location; iface->get_js_status = impl_get_js_status; |