aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-single.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-12-08 01:43:47 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-12-08 01:43:47 +0800
commitb695374f186d3942225bcc4434de033599f24fe8 (patch)
tree4e5b56dc8cb3350f0531f7f8bd837b03f1fed1af /embed/ephy-embed-single.c
parentc74c2ffafded21bc3b583743b7054de65f35eef5 (diff)
downloadgsoc2013-epiphany-b695374f186d3942225bcc4434de033599f24fe8.tar
gsoc2013-epiphany-b695374f186d3942225bcc4434de033599f24fe8.tar.gz
gsoc2013-epiphany-b695374f186d3942225bcc4434de033599f24fe8.tar.bz2
gsoc2013-epiphany-b695374f186d3942225bcc4434de033599f24fe8.tar.lz
gsoc2013-epiphany-b695374f186d3942225bcc4434de033599f24fe8.tar.xz
gsoc2013-epiphany-b695374f186d3942225bcc4434de033599f24fe8.tar.zst
gsoc2013-epiphany-b695374f186d3942225bcc4434de033599f24fe8.zip
ephy-embed-single: don't use macros when not needed
We can use the arguments of the function safely.
Diffstat (limited to 'embed/ephy-embed-single.c')
-rw-r--r--embed/ephy-embed-single.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 9ca1d328e..94a18b889 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -463,7 +463,7 @@ cache_size_cb (GSettings *settings,
char *key,
EphyEmbedSingle *single)
{
- int new_cache_size = g_settings_get_int (EPHY_SETTINGS_WEB, EPHY_PREFS_CACHE_SIZE);
+ int new_cache_size = g_settings_get_int (settings, key);
webkit_soup_cache_set_max_size (single->priv->cache, new_cache_size * 1024 * 1024 /* in bytes */);
}