From 5886cdb08578e080f1a0ec8fe1a0c201aab4612d Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Mon, 15 Jun 2009 19:07:46 +0300 Subject: ephy-window.c: adapt to API change in WebKitGTK+. Progress from the WebView goes from 0.0 to 1.0 now. --- src/ephy-window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ephy-window.c b/src/ephy-window.c index cab80aec0..c3e7e8f5f 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1630,7 +1630,8 @@ sync_tab_load_progress (EphyWebView *view, GParamSpec *pspec, EphyWindow *window if (pspec && (!uri || strcmp (uri, "about:blank") == 0)) return; - progress = webkit_web_view_get_progress (WEBKIT_WEB_VIEW (view))/100.0; + progress = webkit_web_view_get_progress (WEBKIT_WEB_VIEW (view)); + g_message ("PROGRESS IS %f", progress); if (progress == 1.0 && pspec) { window->priv->clear_progress_timeout_id = -- cgit v1.2.3