hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=3bf7123aa8d5ccec83bedfea7798d1deb894e279

commit 3bf7123aa8d5ccec83bedfea7798d1deb894e279
Author: ChunEon Park <[email protected]>
Date:   Tue Jan 6 15:50:30 2015 +0900

    genlist: use macro as possible.
---
 src/lib/elm_genlist.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 73b824c..f9b4b53 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -6694,7 +6694,7 @@ _elm_genlist_item_expanded_get(Eo *eo_item EINA_UNUSED, 
Elm_Gen_Item *it)
 {
    ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
 
-   return it->item->expanded;
+   return GL_IT(it)->expanded;
 }
 
 EOLIAN static int
@@ -6702,7 +6702,7 @@ _elm_genlist_item_expanded_depth_get(Eo *eo_item 
EINA_UNUSED, Elm_Gen_Item *it)
 {
    ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, 0);
 
-   return it->item->expanded_depth;
+   return GL_IT(it)->expanded_depth;
 }
 
 static Eina_Bool

-- 


Reply via email to