summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-08-01 16:28:57 +0200
committerdavemds <dave@gurumeditation.it>2014-08-01 16:29:16 +0200
commit8204d750871f53ac2f9981274a2151709d2a8c83 (patch)
treee73493bc2a95dbf4257d857a83d89233cba20a0c
parent2232978c903d9e99a5603d9cc4e65fff485b6e3c (diff)
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.
-rw-r--r--src/lib/elm_genlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index bb347d1ce..af518bdfc 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -7577,8 +7577,7 @@ _elm_genlist_search_by_text_item_get(Eo *obj EINA_UNUSED,
7577 EINA_INLIST_FOREACH(start, it) 7577 EINA_INLIST_FOREACH(start, it)
7578 { 7578 {
7579 if (!it->itc->func.text_get) continue; 7579 if (!it->itc->func.text_get) continue;
7580 str = it->itc->func.text_get((void *)it->base.data, 7580 str = it->itc->func.text_get((void *)it->base.data, WIDGET(it), part_name);
7581 VIEW(it), part_name);
7582 if (!str) continue; 7581 if (!str) continue;
7583 if (!fnmatch(pattern, str, fnflags)) 7582 if (!fnmatch(pattern, str, fnflags))
7584 { 7583 {