aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-06-01 23:47:48 +0800
committerXan Lopez <xan@gnome.org>2009-06-03 00:08:43 +0800
commit9f4b66ef75418ea4f51179432f4d5aeca4e586ed (patch)
treed4cd3603661057f34c085d17905591bb288374e4 /embed
parent09981137f2f8563e9936b38cd7f8bfbb8c5bc95a (diff)
downloadgsoc2013-epiphany-9f4b66ef75418ea4f51179432f4d5aeca4e586ed.tar
gsoc2013-epiphany-9f4b66ef75418ea4f51179432f4d5aeca4e586ed.tar.gz
gsoc2013-epiphany-9f4b66ef75418ea4f51179432f4d5aeca4e586ed.tar.bz2
gsoc2013-epiphany-9f4b66ef75418ea4f51179432f4d5aeca4e586ed.tar.lz
gsoc2013-epiphany-9f4b66ef75418ea4f51179432f4d5aeca4e586ed.tar.xz
gsoc2013-epiphany-9f4b66ef75418ea4f51179432f4d5aeca4e586ed.tar.zst
gsoc2013-epiphany-9f4b66ef75418ea4f51179432f4d5aeca4e586ed.zip
Remove ephy_embed_load, it's obsoleted by ephy_web_view_load_request.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed.c17
-rw-r--r--embed/ephy-embed.h6
-rw-r--r--embed/webkit/webkit-embed.c11
3 files changed, 0 insertions, 34 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index b52d0107e..04b94bba1 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -365,23 +365,6 @@ ephy_embed_load_url (EphyEmbed *embed,
}
/**
- * ephy_embed_load:
- * @embed: an #EphyEmbed
- * @url: an URL
- * @previous_embed: the referrer embed or %NULL
- *
- * Loads a new web page in @embed.
- **/
-void
-ephy_embed_load (EphyEmbed *embed,
- const char *url,
- EphyEmbed *referring_embed)
-{
- EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed);
- iface->load (embed, url, referring_embed);
-}
-
-/**
* ephy_embed_can_go_up:
* @embed: an #EphyEmbed
*
diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h
index 814eda3a3..a974ae790 100644
--- a/embed/ephy-embed.h
+++ b/embed/ephy-embed.h
@@ -156,9 +156,6 @@ struct _EphyEmbedIface
/* Methods */
void (* load_url) (EphyEmbed *embed,
const char *url);
- void (* load) (EphyEmbed *embed,
- const char *url,
- EphyEmbed *referring_embed);
gboolean (* can_go_up) (EphyEmbed *embed);
GSList * (* get_go_up_list) (EphyEmbed *embed);
void (* go_up) (EphyEmbed *embed);
@@ -208,9 +205,6 @@ GType ephy_embed_get_type (void);
/* Base */
void ephy_embed_load_url (EphyEmbed *embed,
const char *url);
-void ephy_embed_load (EphyEmbed *embed,
- const char *url,
- EphyEmbed *referring_embed);
const char *ephy_embed_get_title (EphyEmbed *embed);
diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c
index 7794ea8b0..8528759a9 100644
--- a/embed/webkit/webkit-embed.c
+++ b/embed/webkit/webkit-embed.c
@@ -792,16 +792,6 @@ impl_load_url (EphyEmbed *embed,
webkit_web_view_open (wembed->priv->web_view, url);
}
-static void
-impl_load (EphyEmbed *embed,
- const char *url,
- EphyEmbed *preview_embed)
-{
- WebKitEmbed *wembed = WEBKIT_EMBED (embed);
-
- webkit_web_view_open (wembed->priv->web_view, url);
-}
-
static gboolean
impl_can_go_up (EphyEmbed *embed)
{
@@ -883,7 +873,6 @@ static void
ephy_embed_iface_init (EphyEmbedIface *iface)
{
iface->load_url = impl_load_url;
- iface->load = impl_load;
iface->can_go_up = impl_can_go_up;
iface->get_go_up_list = impl_get_go_up_list;
iface->go_up = impl_go_up;