aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.c
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-08-29 21:45:44 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-01 02:34:02 +0800
commitad274ecde055542fb8b867f7ff4247f5f2188c16 (patch)
treec0a9cdd622f0f5f26ce23d4ac32926c966992b6a /embed/ephy-web-view.c
parent2418032b1618e0a2c142fe8ec8149f851d8eaae9 (diff)
downloadgsoc2013-epiphany-ad274ecde055542fb8b867f7ff4247f5f2188c16.tar
gsoc2013-epiphany-ad274ecde055542fb8b867f7ff4247f5f2188c16.tar.gz
gsoc2013-epiphany-ad274ecde055542fb8b867f7ff4247f5f2188c16.tar.bz2
gsoc2013-epiphany-ad274ecde055542fb8b867f7ff4247f5f2188c16.tar.lz
gsoc2013-epiphany-ad274ecde055542fb8b867f7ff4247f5f2188c16.tar.xz
gsoc2013-epiphany-ad274ecde055542fb8b867f7ff4247f5f2188c16.tar.zst
gsoc2013-epiphany-ad274ecde055542fb8b867f7ff4247f5f2188c16.zip
ephy-web-view: Lower the priority of the snapshotting task
This makes it more likely that all rendering in the page has already happenend, specially under heavy page load.
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r--embed/ephy-web-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index b84eb42f8..2a417f883 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -2396,7 +2396,7 @@ load_status_cb (WebKitWebView *web_view,
/* Reset visit type. */
priv->visit_type = EPHY_PAGE_VISIT_NONE;
- g_idle_add ((GSourceFunc) web_view_check_snapshot, web_view);
+ g_idle_add_full (G_PRIORITY_LOW, (GSourceFunc) web_view_check_snapshot, web_view, NULL);
break;
}