From dea095e143a9d59ae73f3523381c3c4ce27e2154 Mon Sep 17 00:00:00 2001 From: englebass Date: Mon, 15 Nov 2010 21:04:42 +0000 Subject: [PATCH] remove duplicate code, and mark strict spec git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54572 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/efreet_icon.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib/efreet_icon.c b/src/lib/efreet_icon.c index c31427a..f016979 100644 --- a/src/lib/efreet_icon.c +++ b/src/lib/efreet_icon.c @@ -1280,17 +1280,13 @@ efreet_icon_theme_dir_scan_all(const char *theme_name) efreet_icon_theme_dir_scan(path, theme_name); } +#ifndef STRICT_SPEC EINA_LIST_FOREACH(xdg_dirs, l, dir) { snprintf(path, sizeof(path), "%s/pixmaps", dir); efreet_icon_theme_dir_scan(path, theme_name); } - - EINA_LIST_FOREACH(xdg_dirs, l, dir) - { - snprintf(path, sizeof(path), "%s/pixmaps", dir); - efreet_icon_theme_dir_scan(path, theme_name); - } +#endif efreet_icon_theme_dir_scan("/usr/share/pixmaps", theme_name); -- 2.7.4