summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-08-01 17:28:24 +0200
committerdavemds <dave@gurumeditation.it>2014-08-01 17:28:24 +0200
commitb3cd928a8e8673cbc593b03da74121d42cf52d9d (patch)
tree981f0f4d7b7bb2c6b730dda777e91acad9515b24
parent8204d750871f53ac2f9981274a2151709d2a8c83 (diff)
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.
-rw-r--r--src/lib/elm_gengrid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 03c6d7ac0..cb5666acb 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -136,7 +136,7 @@ _elm_gengrid_search_by_text_item_get(Eo *obj EINA_UNUSED,
136 { 136 {
137 if (!it->itc->func.text_get) continue; 137 if (!it->itc->func.text_get) continue;
138 str = it->itc->func.text_get((void *)it->base.data, 138 str = it->itc->func.text_get((void *)it->base.data,
139 VIEW(it), part_name); 139 WIDGET(it), part_name);
140 if (!str) continue; 140 if (!str) continue;
141 if (!fnmatch(pattern, str, fnflags)) 141 if (!fnmatch(pattern, str, fnflags))
142 { 142 {