diff options
author | Sergio Villar Senin <svillar@igalia.com> | 2010-11-17 19:38:50 +0800 |
---|---|---|
committer | Sergio Villar Senin <svillar@igalia.com> | 2010-11-18 01:42:18 +0800 |
commit | 60637e1634dda521aa94f18c3cc51740d6beda78 (patch) | |
tree | 0eb629276ed46b12be3ec59b2cc92fe284d28b36 | |
parent | 45c55e012b51e902ca249a122846353f8bc91926 (diff) | |
download | gsoc2013-epiphany-60637e1634dda521aa94f18c3cc51740d6beda78.tar gsoc2013-epiphany-60637e1634dda521aa94f18c3cc51740d6beda78.tar.gz gsoc2013-epiphany-60637e1634dda521aa94f18c3cc51740d6beda78.tar.bz2 gsoc2013-epiphany-60637e1634dda521aa94f18c3cc51740d6beda78.tar.lz gsoc2013-epiphany-60637e1634dda521aa94f18c3cc51740d6beda78.tar.xz gsoc2013-epiphany-60637e1634dda521aa94f18c3cc51740d6beda78.tar.zst gsoc2013-epiphany-60637e1634dda521aa94f18c3cc51740d6beda78.zip |
WebKitSoupCache expects a max cache size in bytes
Bug #635066
-rw-r--r-- | 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 26142b775..9e6b4b316 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 */); } /** |