diff options
author | Xan Lopez <xan@gnome.org> | 2009-06-16 00:07:46 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2009-06-16 04:34:24 +0800 |
commit | 5886cdb08578e080f1a0ec8fe1a0c201aab4612d (patch) | |
tree | 5288a54f4a49f21244ba2ed58c30cbcf10e672de | |
parent | bdf8631b265ae36af46b871d268977a9f666cf4b (diff) | |
download | gsoc2013-epiphany-5886cdb08578e080f1a0ec8fe1a0c201aab4612d.tar.gz gsoc2013-epiphany-5886cdb08578e080f1a0ec8fe1a0c201aab4612d.tar.zst gsoc2013-epiphany-5886cdb08578e080f1a0ec8fe1a0c201aab4612d.zip |
ephy-window.c: adapt to API change in WebKitGTK+.
Progress from the WebView goes from 0.0 to 1.0 now.
-rw-r--r-- | 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 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 = |