seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=56aa60364aea6824d216182e77315a6765a5de54

commit 56aa60364aea6824d216182e77315a6765a5de54
Author: Amitesh Singh <[email protected]>
Date:   Thu Sep 25 01:36:03 2014 +0900

    genlist: Removed unnecessary casting of genlist item.
    
    Reviewers: seoz
    
    Subscribers: seoz
    
    Differential Revision: https://phab.enlightenment.org/D1471
---
 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 297bcf3..482bb71 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -5192,7 +5192,7 @@ _elm_genlist_looping_up_cb(void *data,
 
    Elm_Object_Item *it = elm_genlist_last_item_get(genlist);
 
-   elm_genlist_item_show((Elm_Object_Item *)it, ELM_GENLIST_ITEM_SCROLLTO_IN);
+   elm_genlist_item_show(it, ELM_GENLIST_ITEM_SCROLLTO_IN);
    _elm_widget_focus_highlight_signal_emit(genlist, 
"elm,action,focus,move,up", "elm");
    elm_layout_signal_emit(genlist, "elm,action,looping,up,end", "elm");
    sd->item_looping_on = EINA_FALSE;
@@ -5210,7 +5210,7 @@ _elm_genlist_looping_down_cb(void *data,
 
    Elm_Object_Item *it = elm_genlist_first_item_get(genlist);
 
-   elm_genlist_item_show((Elm_Object_Item *)it, ELM_GENLIST_ITEM_SCROLLTO_IN);
+   elm_genlist_item_show(it, ELM_GENLIST_ITEM_SCROLLTO_IN);
    _elm_widget_focus_highlight_signal_emit(genlist, 
"elm,action,focus,move,down", "elm");
    elm_layout_signal_emit(genlist, "elm,action,looping,down,end", "elm");
    sd->item_looping_on = EINA_FALSE;

-- 


Reply via email to