summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-11-24 17:40:06 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-11-24 17:40:28 +0900
commita6aee02dca252cc74ac33fad399f62cd857cf863 (patch)
treeb424f3f6514cd444363494e5b34c9ae98ac542a3
parentd3e0ac34eb7c4c898a725206417f2f25e8383d07 (diff)
list: Optimize eo item usage.
Remove unnecessary pointer reference.
-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 3b1e5667a..b196f808e 100644
--- a/src/lib/elm_list.c
+++ b/src/lib/elm_list.c
@@ -2368,7 +2368,7 @@ _elm_list_evas_object_smart_del(Eo *obj, Elm_List_Data *sd)
2368 /* issuing free because of "locking" item del pre hook */ 2368 /* issuing free because of "locking" item del pre hook */
2369 _elm_list_item_free(it); 2369 _elm_list_item_free(it);
2370 WIDGET(it) = NULL; 2370 WIDGET(it) = NULL;
2371 eo_del(EO_OBJ(it)); 2371 eo_del(eo_it);
2372 } 2372 }
2373 2373
2374 _elm_list_unwalk(obj, sd); 2374 _elm_list_unwalk(obj, sd);
@@ -2620,7 +2620,7 @@ _elm_list_clear(Eo *obj, Elm_List_Data *sd)
2620 ELM_LIST_ITEM_DATA_GET(eo_it, it); 2620 ELM_LIST_ITEM_DATA_GET(eo_it, it);
2621 /* issuing free because of "locking" item del pre hook */ 2621 /* issuing free because of "locking" item del pre hook */
2622 _elm_list_item_free(it); 2622 _elm_list_item_free(it);
2623 eo_del(EO_OBJ(it)); 2623 eo_del(eo_it);
2624 } 2624 }
2625 2625
2626 _elm_list_unwalk(obj, sd); 2626 _elm_list_unwalk(obj, sd);