summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-07-10 00:46:50 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-07-10 00:46:52 +0900
commit1b07fd2471ca032e8fb1cd88c4de013ae7a328dd (patch)
tree1e12af4c863269ac5d03d321c505453a95edad4c
parente1a11daa8f08d051e8b7c781806eaa9f97358b98 (diff)
gengrid, list: removed unnecessary condition check.
This is a successive commit of aac6e071e.
-rw-r--r--src/lib/elm_gengrid.c1
-rw-r--r--src/lib/elm_list.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 26ea778d7..e4c28f996 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -4719,7 +4719,6 @@ _elm_gengrid_elm_widget_focused_item_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *
4719EOLIAN static void 4719EOLIAN static void
4720_elm_gengrid_elm_widget_item_loop_enabled_set(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, Eina_Bool enable) 4720_elm_gengrid_elm_widget_item_loop_enabled_set(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, Eina_Bool enable)
4721{ 4721{
4722 if (sd->item_loop_enable == enable) return;
4723 sd->item_loop_enable = !!enable; 4722 sd->item_loop_enable = !!enable;
4724} 4723}
4725 4724
diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c
index 4e1e0ddbb..ecc09e913 100644
--- a/src/lib/elm_list.c
+++ b/src/lib/elm_list.c
@@ -2937,7 +2937,6 @@ _elm_list_elm_widget_focused_item_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd)
2937EOLIAN static void 2937EOLIAN static void
2938_elm_list_elm_widget_item_loop_enabled_set(Eo *obj EINA_UNUSED, Elm_List_Data *sd, Eina_Bool enable) 2938_elm_list_elm_widget_item_loop_enabled_set(Eo *obj EINA_UNUSED, Elm_List_Data *sd, Eina_Bool enable)
2939{ 2939{
2940 if (sd->item_loop_enable == enable) return;
2941 sd->item_loop_enable = !!enable; 2940 sd->item_loop_enable = !!enable;
2942} 2941}
2943 2942