remove duplicate code, and mark strict spec

SVN revision: 54572
This commit is contained in:
Sebastian Dransfeld 2010-11-15 21:04:42 +00:00
parent 5c4f02671a
commit bc9f811710
1 changed files with 2 additions and 6 deletions

View File

@ -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);