From 9f4b66ef75418ea4f51179432f4d5aeca4e586ed Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Mon, 1 Jun 2009 18:47:48 +0300 Subject: Remove ephy_embed_load, it's obsoleted by ephy_web_view_load_request. --- embed/ephy-embed.c | 17 ----------------- embed/ephy-embed.h | 6 ------ embed/webkit/webkit-embed.c | 11 ----------- 3 files changed, 34 deletions(-) (limited to 'embed') 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 @@ -364,23 +364,6 @@ ephy_embed_load_url (EphyEmbed *embed, iface->load_url (embed, url); } -/** - * 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; -- cgit v1.2.3