elm_theme: use themes and extensions lists for _elm_theme_data_find

Differential Revision: https://phab.enlightenment.org/D5956
This commit is contained in:
Mike Blumenkrantz 2018-04-17 11:46:37 -04:00
parent 7afd83569b
commit 99fca5b01d
1 changed files with 2 additions and 2 deletions

View File

@ -284,12 +284,12 @@ _elm_theme_data_find(Elm_Theme *th, const char *key)
data = _elm_theme_find_data_try(th, etf->handle, key);
if (data) return data;
}
EINA_INLIST_FOREACH(th->overlay, etf)
EINA_INLIST_FOREACH(th->themes, etf)
{
data = _elm_theme_find_data_try(th, etf->handle, key);
if (data) return data;
}
EINA_INLIST_FOREACH(th->overlay, etf)
EINA_INLIST_FOREACH(th->extension, etf)
{
data = _elm_theme_find_data_try(th, etf->handle, key);
if (data) return data;