ok, I should get some sleep

SVN revision: 43240
This commit is contained in:
Iván Briano 2009-10-24 05:12:17 +00:00
parent bddead122d
commit b263f7cd23
1 changed files with 12 additions and 16 deletions

View File

@ -93,14 +93,12 @@ elm_theme_overlay_del(const char *item)
const char *f, *s;
s = eina_stringshare_add(item);
EINA_LIST_FOREACH(overlay, l, f)
{
if (f == s)
{
eina_stringshare_del(f);
overlay = eina_list_remove_list(overlay, l);
}
break;
}
if (f == s)
{
eina_stringshare_del(f);
overlay = eina_list_remove_list(overlay, l);
break;
}
eina_stringshare_del(s);
elm_theme_flush();
}
@ -120,14 +118,12 @@ elm_theme_extension_del(const char *item)
const char *f, *s;
s = eina_stringshare_add(item);
EINA_LIST_FOREACH(extension, l, f)
{
if (f == s)
{
eina_stringshare_del(f);
extension = eina_list_remove_list(extension, l);
}
break;
}
if (f == s)
{
eina_stringshare_del(f);
extension = eina_list_remove_list(extension, l);
break;
}
eina_stringshare_del(s);
elm_theme_flush();
}