EINA_LIST_FOREACH(themes, l, theme)
{
if ((eina_hash_find(dirs, theme->name.internal)))
- eina_hash_del(dirs, theme->name.internal, NULL);
+ eina_hash_del(dirs, theme->name.internal, NULL);
else
{
printf("efreet_icon_theme_list_get() returned %s which we didn't "
}
}
while (themes)
- {
- themes = eina_list_remove_list(themes, themes);
- }
+ {
+ themes = eina_list_remove_list(themes, themes);
+ }
themes = NULL;
it = eina_hash_iterator_key_new(dirs);
if (eina_list_count(themes) > 0)
{
printf("efreet_icon_theme_list_get() missed: ");
- EINA_LIST_FOREACH(themes, l, dir)
+ EINA_LIST_FOREACH(themes, l, dir)
printf("%s ", dir);
printf("\n");
ret = 0;
}
while (themes)
- {
- themes = eina_list_remove_list(themes, themes);
+ {
+ themes = eina_list_remove_list(themes, themes);
}
eina_hash_free(dirs);
{
char p[PATH_MAX];
- dirs = eina_list_remove_list(dirs, dirs);
+ dirs = eina_list_remove_list(dirs, dirs);
/* if we've already added the theme we're done */
if (eina_hash_find(themes, dir))
{
if (!theme)
{
printf("Theme not installed, SKIPPED.\n");
- while (themes)
- themes = eina_list_remove_list(themes, themes);
+ while (themes)
+ themes = eina_list_remove_list(themes, themes);
return 1;
}
{
Efreet_Icon_Theme_Directory *dir;
- EINA_LIST_FOREACH(theme->directories, ll, dir)
- {
- snprintf(path, sizeof(path), "%s/%s/", theme_path, dir->name);
- ef_read_dir(path, icons);
- }
+ EINA_LIST_FOREACH(theme->directories, ll, dir)
+ {
+ snprintf(path, sizeof(path), "%s/%s/", theme_path, dir->name);
+ ef_read_dir(path, icons);
}
+ }
if (theme->inherits)
{
Efreet_Icon_Theme *parent_theme;
char *parent;
- EINA_LIST_FOREACH(theme->inherits, l, parent)
+ EINA_LIST_FOREACH(theme->inherits, l, parent)
{
- EINA_LIST_FOREACH(themes, ll, parent_theme)
+ EINA_LIST_FOREACH(themes, ll, parent_theme)
{
if (!strcmp(parent_theme->name.internal, parent))
ef_icons_find(parent_theme, themes, icons);
{
Efreet_Icon_Theme *parent_theme;
- EINA_LIST_FOREACH(themes, l, parent_theme)
+ EINA_LIST_FOREACH(themes, l, parent_theme)
{
if (!strcmp(parent_theme->name.internal, "hicolor"))
ef_icons_find(parent_theme, themes, icons);
{
char *p;
- files = eina_list_remove_list(files, files);
+ files = eina_list_remove_list(files, files);
p = strrchr(file, '.');
if (!p)
{