[epiphany/in-tab-overview: 38/56] ephy-web-view: Lower the priority of the snapshotting task
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/in-tab-overview: 38/56] ephy-web-view: Lower the priority of the snapshotting task
- Date: Fri, 31 Aug 2012 12:53:47 +0000 (UTC)
commit 27a31f0c9b78d6b7308b9be55dc1d3d3bb8c0c69
Author: Claudio Saavedra <csaavedra igalia com>
Date: Wed Aug 29 16:45:44 2012 +0300
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.
embed/ephy-web-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index b84eb42..2a417f8 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]