[epiphany] WebKitSoupCache expects a max cache size in bytes



commit 60637e1634dda521aa94f18c3cc51740d6beda78
Author: Sergio Villar Senin <svillar igalia com>
Date:   Wed Nov 17 12:38:50 2010 +0100

    WebKitSoupCache expects a max cache size in bytes
    
    Bug #635066

 embed/ephy-embed-single.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 26142b7..9e6b4b3 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -464,7 +464,7 @@ cache_size_cb (GSettings *settings,
                EphyEmbedSingle *single)
 {
   int new_cache_size = g_settings_get_int (EPHY_SETTINGS_WEB, EPHY_PREFS_CACHE_SIZE);
-  webkit_soup_cache_set_max_size (single->priv->cache, new_cache_size);
+  webkit_soup_cache_set_max_size (single->priv->cache, new_cache_size * 1024 * 1024 /* in bytes */);
 }
 
 /**



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