forked from enlightenment/enlightenment
* e_configure.c: White space removal and more indent.
SVN revision: 39432
This commit is contained in:
parent
1117cb228d
commit
65e6e035c0
|
@ -38,18 +38,18 @@ _e_configure_efreet_desktop_update(void)
|
|||
|
||||
/* remove anything with a desktop entry */
|
||||
EINA_LIST_FOREACH(e_configure_registry, l, ecat)
|
||||
{
|
||||
E_Configure_It *eci;
|
||||
{
|
||||
E_Configure_It *eci;
|
||||
Eina_List *ll;
|
||||
|
||||
EINA_LIST_FOREACH(ecat->items, ll, eci)
|
||||
if (eci->desktop)
|
||||
{
|
||||
snprintf(buf, sizeof(buf), "%s/%s", ecat->cat, eci->item);
|
||||
remove_items = eina_list_append(remove_items, strdup(buf));
|
||||
remove_cats = eina_list_append(remove_cats, strdup(ecat->cat));
|
||||
}
|
||||
}
|
||||
if (eci->desktop)
|
||||
{
|
||||
snprintf(buf, sizeof(buf), "%s/%s", ecat->cat, eci->item);
|
||||
remove_items = eina_list_append(remove_items, strdup(buf));
|
||||
remove_cats = eina_list_append(remove_cats, strdup(ecat->cat));
|
||||
}
|
||||
}
|
||||
EINA_LIST_FREE(remove_items, data)
|
||||
{
|
||||
e_configure_registry_item_del(data);
|
||||
|
@ -214,7 +214,7 @@ _e_configure_registry_item_full_add(const char *path, int pri, const char *label
|
|||
goto done;
|
||||
}
|
||||
}
|
||||
done:
|
||||
done:
|
||||
free(cat);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue