Genlist: fix search_by_text_item_get() text_get call

The text_get function was called with the wrong params, now its usage is consistent with the rest of the code.
This commit is contained in:
Davide Andreoli 2014-08-01 16:28:57 +02:00
parent d8f128d7ea
commit 139a1ddb08
1 changed files with 1 additions and 2 deletions

View File

@ -7577,8 +7577,7 @@ _elm_genlist_search_by_text_item_get(Eo *obj EINA_UNUSED,
EINA_INLIST_FOREACH(start, it)
{
if (!it->itc->func.text_get) continue;
str = it->itc->func.text_get((void *)it->base.data,
VIEW(it), part_name);
str = it->itc->func.text_get((void *)it->base.data, WIDGET(it), part_name);
if (!str) continue;
if (!fnmatch(pattern, str, fnflags))
{