From b695374f186d3942225bcc4434de033599f24fe8 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Tue, 7 Dec 2010 18:43:47 +0100 Subject: ephy-embed-single: don't use macros when not needed We can use the arguments of the function safely. --- embed/ephy-embed-single.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed/ephy-embed-single.c') 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 */); } -- cgit