hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=6266d9d6ce84366f59839ca1eb44eaf5c6c333b8

commit 6266d9d6ce84366f59839ca1eb44eaf5c6c333b8
Author: ChunEon Park <[email protected]>
Date:   Mon Jan 5 15:56:27 2015 +0900

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

diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 559b2cc..bfb2417 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -7491,7 +7491,7 @@ _elm_genlist_item_type_get(Eo *eo_it EINA_UNUSED, 
Elm_Gen_Item *it)
 {
    ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, ELM_GENLIST_ITEM_MAX);
 
-   return it->item->type;
+   return GL_IT(it)->type;
 }
 
 EAPI Elm_Genlist_Item_Class *

-- 


Reply via email to