remove duplicate code, and mark strict spec
SVN revision: 54572
This commit is contained in:
parent
5c4f02671a
commit
bc9f811710
|
@ -1280,17 +1280,13 @@ efreet_icon_theme_dir_scan_all(const char *theme_name)
|
||||||
efreet_icon_theme_dir_scan(path, theme_name);
|
efreet_icon_theme_dir_scan(path, theme_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef STRICT_SPEC
|
||||||
EINA_LIST_FOREACH(xdg_dirs, l, dir)
|
EINA_LIST_FOREACH(xdg_dirs, l, dir)
|
||||||
{
|
{
|
||||||
snprintf(path, sizeof(path), "%s/pixmaps", dir);
|
snprintf(path, sizeof(path), "%s/pixmaps", dir);
|
||||||
efreet_icon_theme_dir_scan(path, theme_name);
|
efreet_icon_theme_dir_scan(path, theme_name);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
EINA_LIST_FOREACH(xdg_dirs, l, dir)
|
|
||||||
{
|
|
||||||
snprintf(path, sizeof(path), "%s/pixmaps", dir);
|
|
||||||
efreet_icon_theme_dir_scan(path, theme_name);
|
|
||||||
}
|
|
||||||
|
|
||||||
efreet_icon_theme_dir_scan("/usr/share/pixmaps", theme_name);
|
efreet_icon_theme_dir_scan("/usr/share/pixmaps", theme_name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue