[epiphany] Remove ephy_embed_load, it's obsoleted by ephy_web_view_load_request.



commit 9f4b66ef75418ea4f51179432f4d5aeca4e586ed
Author: Xan Lopez <xan gnome org>
Date:   Mon Jun 1 18:47:48 2009 +0300

    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, 0 insertions(+), 34 deletions(-)

diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index b52d010..04b94bb 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 814eda3..a974ae7 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 7794ea8..8528759 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]