seoz pushed a commit to branch master.

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

commit aac6e071e09103f0c7d223626b8cb00dfb4cf8eb
Author: Shobhit <[email protected]>
Date:   Thu Jul 10 00:39:50 2014 +0900

    genlist: Removed unnecessary condition check.
    
    Summary:
    Removed condition check from _elm_genlist_elm_widget_item_loop_enabled_set()
    
    Reviewers: seoz
    
    CC: sachin.dev
    
    Differential Revision: https://phab.enlightenment.org/D1144
---
 src/lib/elm_genlist.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index c596c2a..5f7094e 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -7535,7 +7535,6 @@ _elm_genlist_elm_widget_focused_item_get(Eo *obj 
EINA_UNUSED, Elm_Genlist_Data *
 EOLIAN static void
 _elm_genlist_elm_widget_item_loop_enabled_set(Eo *obj EINA_UNUSED, 
Elm_Genlist_Data *sd, Eina_Bool enable)
 {
-   if (sd->item_loop_enable == enable) return;
    sd->item_loop_enable = !!enable;
 }
 

-- 


Reply via email to