From: Daniel Juyung Seo Date: Mon, 24 Nov 2014 08:40:06 +0000 (+0900) Subject: list: Optimize eo item usage. X-Git-Tag: v1.13.0-alpha1~220 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6aee02dca252cc74ac33fad399f62cd857cf863;p=platform%2Fupstream%2Felementary.git list: Optimize eo item usage. Remove unnecessary pointer reference. --- diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c index 3b1e566..b196f80 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) /* issuing free because of "locking" item del pre hook */ _elm_list_item_free(it); WIDGET(it) = NULL; - eo_del(EO_OBJ(it)); + eo_del(eo_it); } _elm_list_unwalk(obj, sd); @@ -2620,7 +2620,7 @@ _elm_list_clear(Eo *obj, Elm_List_Data *sd) ELM_LIST_ITEM_DATA_GET(eo_it, it); /* issuing free because of "locking" item del pre hook */ _elm_list_item_free(it); - eo_del(EO_OBJ(it)); + eo_del(eo_it); } _elm_list_unwalk(obj, sd);