summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-25 12:46:12 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-25 13:21:25 +0100
commite8109c678d7e91106475712328150983288b20ba (patch)
tree80c341ba2973fa32024404700a4c0b323ebd2d49
parenteab898e592c626916c19f48947127f4b40273c7d (diff)
elm - main - fix enum cast warnings - checked values
-rw-r--r--src/lib/elementary/elm_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_main.c b/src/lib/elementary/elm_main.c
index 4bf652077b..d6a4b5dac4 100644
--- a/src/lib/elementary/elm_main.c
+++ b/src/lib/elementary/elm_main.c
@@ -1698,14 +1698,14 @@ elm_object_focus_move_policy_set(Evas_Object *obj,
1698 Elm_Focus_Move_Policy policy) 1698 Elm_Focus_Move_Policy policy)
1699{ 1699{
1700 EINA_SAFETY_ON_NULL_RETURN(obj); 1700 EINA_SAFETY_ON_NULL_RETURN(obj);
1701 efl_ui_widget_focus_move_policy_set(obj, policy); 1701 efl_ui_widget_focus_move_policy_set(obj, (Efl_Ui_Focus_Move_Policy)policy);
1702} 1702}
1703 1703
1704EAPI Elm_Focus_Move_Policy 1704EAPI Elm_Focus_Move_Policy
1705elm_object_focus_move_policy_get(const Evas_Object *obj) 1705elm_object_focus_move_policy_get(const Evas_Object *obj)
1706{ 1706{
1707 EINA_SAFETY_ON_NULL_RETURN_VAL(obj, EINA_FALSE); 1707 EINA_SAFETY_ON_NULL_RETURN_VAL(obj, EINA_FALSE);
1708 return efl_ui_widget_focus_move_policy_get(obj); 1708 return (Elm_Focus_Move_Policy)efl_ui_widget_focus_move_policy_get(obj);
1709} 1709}
1710 1710
1711EAPI Eina_Bool 1711EAPI Eina_Bool