[epiphany] ephy-window.c: adapt to API change in WebKitGTK+.
- From: Xan Lopez <xan src gnome org>
- To: svn-commits-list gnome org
- Subject: [epiphany] ephy-window.c: adapt to API change in WebKitGTK+.
- Date: Mon, 15 Jun 2009 16:35:09 -0400 (EDT)
commit 5886cdb08578e080f1a0ec8fe1a0c201aab4612d
Author: Xan Lopez <xan gnome org>
Date: Mon Jun 15 19:07:46 2009 +0300
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 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index cab80ae..c3e7e8f 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 =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]