[epiphany] ephy-web-view: Lower the priority of the snapshotting task



commit ad274ecde055542fb8b867f7ff4247f5f2188c16
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]