forked from enlightenment/efl
parent
bddead122d
commit
b263f7cd23
|
@ -93,12 +93,10 @@ elm_theme_overlay_del(const char *item)
|
||||||
const char *f, *s;
|
const char *f, *s;
|
||||||
s = eina_stringshare_add(item);
|
s = eina_stringshare_add(item);
|
||||||
EINA_LIST_FOREACH(overlay, l, f)
|
EINA_LIST_FOREACH(overlay, l, f)
|
||||||
{
|
|
||||||
if (f == s)
|
if (f == s)
|
||||||
{
|
{
|
||||||
eina_stringshare_del(f);
|
eina_stringshare_del(f);
|
||||||
overlay = eina_list_remove_list(overlay, l);
|
overlay = eina_list_remove_list(overlay, l);
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
eina_stringshare_del(s);
|
eina_stringshare_del(s);
|
||||||
|
@ -120,12 +118,10 @@ elm_theme_extension_del(const char *item)
|
||||||
const char *f, *s;
|
const char *f, *s;
|
||||||
s = eina_stringshare_add(item);
|
s = eina_stringshare_add(item);
|
||||||
EINA_LIST_FOREACH(extension, l, f)
|
EINA_LIST_FOREACH(extension, l, f)
|
||||||
{
|
|
||||||
if (f == s)
|
if (f == s)
|
||||||
{
|
{
|
||||||
eina_stringshare_del(f);
|
eina_stringshare_del(f);
|
||||||
extension = eina_list_remove_list(extension, l);
|
extension = eina_list_remove_list(extension, l);
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
eina_stringshare_del(s);
|
eina_stringshare_del(s);
|
||||||
|
|
Loading…
Reference in New Issue