[epiphany-extensions] Adapt extensions to API changes in Epiphany



commit ce17a751c3fe20042945473c43ba2fe6bf78940a
Author: Gustavo Noronha Silva <gustavo noronha collabora co uk>
Date:   Sat Dec 19 18:17:33 2009 +0100

    Adapt extensions to API changes in Epiphany

 configure.ac                                       |    2 +-
 extensions/actions/ephy-actions-extension.c        |    2 +-
 .../push-scroller/ephy-push-scroller-extension.c   |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6348370..13879c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,7 @@ m4_define([e_e_branch],["trunk"])
 
 AC_INIT([GNOME Web Browser Extensions],[e_e_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=epiphany-extensions],[epiphany-extensions])
 
-EPIPHANY_API_VERSION=2.28
+EPIPHANY_API_VERSION=2.29
 
 EPIPHANY_EXTENSIONS_MAJOR=e_e_version_major.e_e_version_minor
 AC_SUBST(EPIPHANY_EXTENSIONS_MAJOR)
diff --git a/extensions/actions/ephy-actions-extension.c b/extensions/actions/ephy-actions-extension.c
index 5517e6f..cc5c4c5 100644
--- a/extensions/actions/ephy-actions-extension.c
+++ b/extensions/actions/ephy-actions-extension.c
@@ -498,7 +498,7 @@ ephy_actions_extension_document_popup_cb (GtkAction *action,
 	}
 
 	embed = ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (window));
-	url = ephy_web_view_get_location (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed), TRUE);
+	url = ephy_web_view_get_location (ephy_embed_get_web_view (embed), TRUE);
 	ephy_actions_extension_run_action (action, window, url);
 	g_free (url);
 }
diff --git a/extensions/push-scroller/ephy-push-scroller-extension.c b/extensions/push-scroller/ephy-push-scroller-extension.c
index 4843381..560aa00 100644
--- a/extensions/push-scroller/ephy-push-scroller-extension.c
+++ b/extensions/push-scroller/ephy-push-scroller-extension.c
@@ -104,7 +104,7 @@ impl_attach_tab (EphyExtension *ext,
 
 	g_return_if_fail (embed != NULL);
 
-	g_signal_connect_object (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed),
+	g_signal_connect_object (ephy_embed_get_web_view (embed),
 				 "button-press-event",
 				 G_CALLBACK (dom_mouse_down_cb), window, 0);
 }
@@ -119,7 +119,7 @@ impl_detach_tab (EphyExtension *ext,
 	g_return_if_fail (embed != NULL);
 
 	g_signal_handlers_disconnect_by_func
-	  (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed)
+	  (ephy_embed_get_web_view (embed)
 	   , G_CALLBACK (dom_mouse_down_cb), window);
 }
 



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