summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-08-02 16:42:56 -0400
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-08-02 23:04:50 +0200
commitab1fd96363b630df1f5b3cb145eade3466b74b75 (patch)
tree74ee63a5af758fc0a62f148120913e3d7708cfd4
parent0e462d5f5a2c65a25129683a0ded817c7de39902 (diff)
elm/genlist: use correct type of list when iterating
itb-items is Eina_List, not Eina_Inlist. this crashes due to wrong type use ref D6720 fix T7246 Differential Revision: https://phab.enlightenment.org/D6736
-rw-r--r--src/lib/elementary/elm_genlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index 9523017b35..854d3e569c 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -4362,12 +4362,13 @@ _update_block_registration(Item_Block *itb, Elm_Gen_Item *element)
4362{ 4362{
4363 Elm_Gen_Item *it = NULL; 4363 Elm_Gen_Item *it = NULL;
4364 Eina_List *order = NULL; 4364 Eina_List *order = NULL;
4365 const Eina_List *l;
4365 4366
4366 if (!itb->realized) return; 4367 if (!itb->realized) return;
4367 4368
4368 efl_ui_focus_manager_calc_register_logical(itb->sd->obj, EO_OBJ(element), itb->adapter, NULL); 4369 efl_ui_focus_manager_calc_register_logical(itb->sd->obj, EO_OBJ(element), itb->adapter, NULL);
4369 4370
4370 EINA_INLIST_FOREACH(itb->items, it) 4371 EINA_LIST_FOREACH(itb->items, l, it)
4371 { 4372 {
4372 order = eina_list_append(order, EO_OBJ(it)); 4373 order = eina_list_append(order, EO_OBJ(it));
4373 } 4374 }