[gthumb] The two steps loading policy is not efficient



commit 2eb9eea9b9c296547a5c23f399f31dfc2fe2e01a
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Sep 13 15:24:23 2010 +0200

    The two steps loading policy is not efficient
    
    The two steps loading policy doesn't give any speed gain over
    the single step policy.  In some cases the single step policy
    is faster.

 gthumb/gth-browser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 490ec35..dbfa95c 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -4176,7 +4176,7 @@ _gth_browser_construct (GthBrowser *browser)
 
 	/* the image preloader */
 
-	browser->priv->image_preloader = gth_image_preloader_new (GTH_LOAD_POLICY_TWO_STEPS, 4);
+	browser->priv->image_preloader = gth_image_preloader_new (GTH_LOAD_POLICY_ONE_STEP, 4);
 
 	/**/
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]