Gengrid: 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 17:28:24 +02:00
parent 139a1ddb08
commit 0aae7d2b4e
1 changed files with 1 additions and 1 deletions

View File

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