summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-11-24 17:38:36 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-11-24 17:40:28 +0900
commitd3e0ac34eb7c4c898a725206417f2f25e8383d07 (patch)
tree432f16fdf1e7f55a99d5964cae2f0c80e3c9c932
parent0b00dbbf2748e6abc6c4d129d6914d23ca51e2ce (diff)
list: Fix wrong eo item porting.
Fix egitu crash issue :) Special thanks to davemds for letting me know python gdb usage.
-rw-r--r--src/lib/elm_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c
index 8a746a744..3b1e5667a 100644
--- a/src/lib/elm_list.c
+++ b/src/lib/elm_list.c
@@ -1219,7 +1219,7 @@ _elm_list_nearest_visible_item_get(Evas_Object *obj, Elm_List_Item_Data *it)
1219 { 1219 {
1220 while ((item_list = eina_list_next(item_list))) 1220 while ((item_list = eina_list_next(item_list)))
1221 { 1221 {
1222 item = eina_list_data_get(item_list); 1222 item = eo_data_scope_get(eina_list_data_get(item_list), ELM_LIST_ITEM_CLASS);
1223 evas_object_geometry_get(VIEW(item), &cx, &cy, &cw, &ch); 1223 evas_object_geometry_get(VIEW(item), &cx, &cy, &cw, &ch);
1224 if (ELM_RECTS_INCLUDE(vx, vy, vw, vh, cx, cy, cw, ch) && 1224 if (ELM_RECTS_INCLUDE(vx, vy, vw, vh, cx, cy, cw, ch) &&
1225 !elm_object_item_disabled_get(EO_OBJ(item))) 1225 !elm_object_item_disabled_get(EO_OBJ(item)))
@@ -1230,7 +1230,7 @@ _elm_list_nearest_visible_item_get(Evas_Object *obj, Elm_List_Item_Data *it)
1230 { 1230 {
1231 while ((item_list = eina_list_prev(item_list))) 1231 while ((item_list = eina_list_prev(item_list)))
1232 { 1232 {
1233 item = eina_list_data_get(item_list); 1233 item = eo_data_scope_get(eina_list_data_get(item_list), ELM_LIST_ITEM_CLASS);
1234 evas_object_geometry_get(VIEW(item), &cx, &cy, &cw, &ch); 1234 evas_object_geometry_get(VIEW(item), &cx, &cy, &cw, &ch);
1235 if (ELM_RECTS_INCLUDE(vx, vy, vw, vh, cx, cy, cw, ch) && 1235 if (ELM_RECTS_INCLUDE(vx, vy, vw, vh, cx, cy, cw, ch) &&
1236 !elm_object_item_disabled_get(EO_OBJ(item))) 1236 !elm_object_item_disabled_get(EO_OBJ(item)))