[epiphany-extensions] tab-states: use is_loading and not get_load_status



commit 05d56f6165734b35b23d4e973600b74649ddc332
Author: Diego Escalante Urrelo <diegoe gnome org>
Date:   Mon Sep 7 15:06:30 2009 -0500

    tab-states: use is_loading and not get_load_status

 extensions/tab-states/ephy-tab-states-extension.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/extensions/tab-states/ephy-tab-states-extension.c b/extensions/tab-states/ephy-tab-states-extension.c
index ce09279..eb139c2 100644
--- a/extensions/tab-states/ephy-tab-states-extension.c
+++ b/extensions/tab-states/ephy-tab-states-extension.c
@@ -173,7 +173,7 @@ sync_active_tab (EphyWindow *window,
 
 	active_tab = ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (window));
 
-	if (ephy_web_view_get_load_status (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (active_tab)) == FALSE)
+	if (ephy_web_view_is_loading (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (active_tab)) == FALSE)
 	{
 		/* mark the tab as read */
 		label = get_real_tab_label (window, active_tab);
@@ -201,8 +201,7 @@ sync_load_status (EphyEmbed *tab,
 	window = EPHY_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (tab)));
 	g_return_if_fail (window != NULL);
 
-	loading = ephy_web_view_get_load_status (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (tab));
-
+	loading = ephy_web_view_is_loading (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (tab));
 	if (loading)
 	{
 #ifdef ENABLE_COLOURS



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