[epiphany-extensions] tab-states: fix a crasher with epiphany master



commit 6bbe927220660a58adb30116cbed3ac13312382e
Author: Diego Escalante Urrelo <diegoe gnome org>
Date:   Thu Dec 17 20:39:03 2009 -0500

    tab-states: fix a crasher with epiphany master
    
    Must check if other extensions are still working after recent master changes.

 extensions/tab-states/ephy-tab-states-extension.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/extensions/tab-states/ephy-tab-states-extension.c b/extensions/tab-states/ephy-tab-states-extension.c
index 5e315be..c4b4481 100644
--- a/extensions/tab-states/ephy-tab-states-extension.c
+++ b/extensions/tab-states/ephy-tab-states-extension.c
@@ -169,13 +169,11 @@ sync_active_tab (EphyWindow *window,
 		 EphyTabStatesExtension *extension)
 {
 	EphyEmbed *embed;
-	WebKitWebView *web_view;
 	EphyWebView *view;
 	GtkWidget *label;
 
 	embed = ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (window));
-	web_view = EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed);
-	view = EPHY_WEB_VIEW (web_view);
+	view = ephy_embed_get_web_view (embed);
 
 	if (ephy_web_view_is_loading (view) == FALSE)
 	{



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