cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=baf2187d555a4b4632081f41b85bb6188b7f58d1

commit baf2187d555a4b4632081f41b85bb6188b7f58d1
Author: Cedric Bail <ced...@osg.samsung.com>
Date:   Tue Oct 25 15:03:26 2016 -0700

    elementary: fixup warning in new colorselector code.
---
 src/lib/elementary/elm_colorselector.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_colorselector.c 
b/src/lib/elementary/elm_colorselector.c
index 66af2e2..bb7f4ff 100644
--- a/src/lib/elementary/elm_colorselector.c
+++ b/src/lib/elementary/elm_colorselector.c
@@ -2098,7 +2098,6 @@ _key_action_move(Evas_Object *obj, const char *params)
    if (cl)
      {
         eo_item = eina_list_data_get(cl);
-        ELM_COLOR_ITEM_DATA_GET(eo_item, item);
         elm_object_item_focus_set(eo_item, EINA_TRUE);
      }
    else if (!cl && (sd->focused == ELM_COLORSELECTOR_PALETTE))
@@ -2120,7 +2119,11 @@ _key_action_activate(Evas_Object *obj, const char 
*params EINA_UNUSED)
         Elm_Object_Item *eo_item = NULL;
         eo_item = eina_list_data_get(sd->focus_items);
         elm_obj_color_item_selected_set(eo_item, EINA_TRUE);
+
+        return EINA_TRUE;
      }
+
+   return EINA_FALSE;
 }
 
 EOLIAN static Eina_Bool

-- 


Reply via email to