From 78f80647ead84f8974b8cc18563aac4f2a0ac925 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Sun, 25 Jul 2010 20:28:21 +0000 Subject: [PATCH] use eina hash set SVN revision: 50494 --- legacy/efreet/src/lib/efreet_icon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/legacy/efreet/src/lib/efreet_icon.c b/legacy/efreet/src/lib/efreet_icon.c index 2be1ff61b8..3320c2e575 100644 --- a/legacy/efreet/src/lib/efreet_icon.c +++ b/legacy/efreet/src/lib/efreet_icon.c @@ -1650,8 +1650,7 @@ efreet_icon_cache_add(Efreet_Icon_Theme *theme, const char *icon, unsigned int s l = list; list = eina_list_prepend(list, cache); - if (!l) eina_hash_add(efreet_icon_cache, theme, list); - else eina_hash_modify(efreet_icon_cache, theme, list); + eina_hash_set(efreet_icon_cache, theme, list); //efreet_icon_cache_flush(theme, list); }