epiphany r8305 - in trunk: doc/reference doc/reference/tmpl embed embed/webkit src



Author: xan
Date: Sun Jun 29 18:15:58 2008
New Revision: 8305
URL: http://svn.gnome.org/viewvc/epiphany?rev=8305&view=rev

Log:
embed: remove ephy_embed_go_forward.

Use WebKit API directly.


Modified:
   trunk/doc/reference/epiphany-sections.txt
   trunk/doc/reference/tmpl/ephy-embed.sgml
   trunk/embed/ephy-embed.c
   trunk/embed/ephy-embed.h
   trunk/embed/webkit/webkit-embed.c
   trunk/src/ephy-navigation-action.c
   trunk/src/epiphany.defs

Modified: trunk/doc/reference/epiphany-sections.txt
==============================================================================
--- trunk/doc/reference/epiphany-sections.txt	(original)
+++ trunk/doc/reference/epiphany-sections.txt	Sun Jun 29 18:15:58 2008
@@ -72,7 +72,6 @@
 ephy_embed_can_go_forward
 ephy_embed_can_go_up
 ephy_embed_get_go_up_list
-ephy_embed_go_forward
 ephy_embed_go_up
 ephy_embed_shistory_n_items
 ephy_embed_shistory_get_nth

Modified: trunk/doc/reference/tmpl/ephy-embed.sgml
==============================================================================
--- trunk/doc/reference/tmpl/ephy-embed.sgml	(original)
+++ trunk/doc/reference/tmpl/ephy-embed.sgml	Sun Jun 29 18:15:58 2008
@@ -436,14 +436,6 @@
 @Returns: 
 
 
-<!-- ##### FUNCTION ephy_embed_go_forward ##### -->
-<para>
-
-</para>
-
- embed: 
-
-
 <!-- ##### FUNCTION ephy_embed_go_up ##### -->
 <para>
 

Modified: trunk/embed/ephy-embed.c
==============================================================================
--- trunk/embed/ephy-embed.c	(original)
+++ trunk/embed/ephy-embed.c	Sun Jun 29 18:15:58 2008
@@ -469,20 +469,6 @@
 }
 
 /**
- * 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
  *

Modified: trunk/embed/ephy-embed.h
==============================================================================
--- trunk/embed/ephy-embed.h	(original)
+++ trunk/embed/ephy-embed.h	Sun Jun 29 18:15:58 2008
@@ -174,7 +174,6 @@
 	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 @@
 
 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,

Modified: trunk/embed/webkit/webkit-embed.c
==============================================================================
--- trunk/embed/webkit/webkit-embed.c	(original)
+++ trunk/embed/webkit/webkit-embed.c	Sun Jun 29 18:15:58 2008
@@ -390,12 +390,6 @@
 }
 
 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 @@
   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;

Modified: trunk/src/ephy-navigation-action.c
==============================================================================
--- trunk/src/ephy-navigation-action.c	(original)
+++ trunk/src/ephy-navigation-action.c	Sun Jun 29 18:15:58 2008
@@ -380,7 +380,7 @@
 						NULL,
 						EPHY_LINK_NEW_TAB);
 		}
-		ephy_embed_go_forward (embed);
+		webkit_web_view_go_forward (web_view);
 	}
 	else if (action->priv->direction == EPHY_NAVIGATION_DIRECTION_UP)
 	{

Modified: trunk/src/epiphany.defs
==============================================================================
--- trunk/src/epiphany.defs	(original)
+++ trunk/src/epiphany.defs	Sun Jun 29 18:15:58 2008
@@ -1162,12 +1162,6 @@
   (return-type "gboolean")
 )
 
-(define-method go_forward
-  (of-object "EphyEmbed")
-  (c-name "ephy_embed_go_forward")
-  (return-type "none")
-)
-
 (define-method go_up
   (of-object "EphyEmbed")
   (c-name "ephy_embed_go_up")



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