summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/elm_gengrid.c2
-rw-r--r--src/lib/elementary/elm_gengrid.eo2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c
index 651e3a7..489d19d 100644
--- a/src/lib/elementary/elm_gengrid.c
+++ b/src/lib/elementary/elm_gengrid.c
@@ -398,7 +398,7 @@ _elm_gengrid_search_by_text_item_get(Eo *obj EINA_UNUSED,
398 { 398 {
399 if (!it->itc->func.text_get) continue; 399 if (!it->itc->func.text_get) continue;
400 str = it->itc->func.text_get((void *)WIDGET_ITEM_DATA_GET(EO_OBJ(it)), 400 str = it->itc->func.text_get((void *)WIDGET_ITEM_DATA_GET(EO_OBJ(it)),
401 WIDGET(it), part_name); 401 WIDGET(it), part_name ? part_name : "elm.text");
402 if (!str) continue; 402 if (!str) continue;
403 if (!fnmatch(pattern, str, fnflags)) 403 if (!fnmatch(pattern, str, fnflags))
404 { 404 {
diff --git a/src/lib/elementary/elm_gengrid.eo b/src/lib/elementary/elm_gengrid.eo
index c2d3ae0..56f8010 100644
--- a/src/lib/elementary/elm_gengrid.eo
+++ b/src/lib/elementary/elm_gengrid.eo
@@ -518,7 +518,7 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
518 Pointer to item to start search from. If $null, search will 518 Pointer to item to start search from. If $null, search will
519 be started from the first item of the gengrid. 519 be started from the first item of the gengrid.
520 ]] 520 ]]
521 @in part_name: string; [[Name of the TEXT part of gengrid item to search string in.]] 521 @in part_name: string; [[Name of the TEXT part of gengrid item to search string in. If $null, search by "elm.text" parts.]]
522 @in pattern: string; [[The search pattern.]] 522 @in pattern: string; [[The search pattern.]]
523 @in flags: Elm.Glob.Match_Flags; [[Search flags.]] 523 @in flags: Elm.Glob.Match_Flags; [[Search flags.]]
524 } 524 }