summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-25 11:51:33 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-25 13:21:25 +0100
commitc640dd7d183be9cac9cb92b0c9e9d55604d74b16 (patch)
treec8c185dcbddab0f3e9cdfe9c960cf46af4e47a0f
parent77b3d11c8df446826687556ebc7f6b2b1f79d7e1 (diff)
elm - flip - fix enum cast warnings - cheked values match
-rw-r--r--src/lib/elementary/efl_ui_flip.c4
-rw-r--r--src/lib/elementary/efl_ui_flip_eo.legacy.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/elementary/efl_ui_flip.c b/src/lib/elementary/efl_ui_flip.c
index da2284ccfb..b40e9d769c 100644
--- a/src/lib/elementary/efl_ui_flip.c
+++ b/src/lib/elementary/efl_ui_flip.c
@@ -1962,13 +1962,13 @@ _efl_ui_flip_go_to(Eo *obj, Efl_Ui_Flip_Data *sd, Eina_Bool front, Efl_Ui_Flip_M
1962{ 1962{
1963 if (sd->next_state == front) return; 1963 if (sd->next_state == front) return;
1964 1964
1965 _internal_elm_flip_go_to(obj, sd, front, mode); 1965 _internal_elm_flip_go_to(obj, sd, front, (Elm_Flip_Mode)mode);
1966} 1966}
1967 1967
1968EOLIAN static void 1968EOLIAN static void
1969_efl_ui_flip_go(Eo *obj, Efl_Ui_Flip_Data *sd, Efl_Ui_Flip_Mode mode) 1969_efl_ui_flip_go(Eo *obj, Efl_Ui_Flip_Data *sd, Efl_Ui_Flip_Mode mode)
1970{ 1970{
1971 _internal_elm_flip_go_to(obj, sd, !sd->state, mode); 1971 _internal_elm_flip_go_to(obj, sd, !sd->state, (Elm_Flip_Mode)mode);
1972} 1972}
1973 1973
1974static void 1974static void
diff --git a/src/lib/elementary/efl_ui_flip_eo.legacy.c b/src/lib/elementary/efl_ui_flip_eo.legacy.c
index 9968236d88..9e7795664c 100644
--- a/src/lib/elementary/efl_ui_flip_eo.legacy.c
+++ b/src/lib/elementary/efl_ui_flip_eo.legacy.c
@@ -2,13 +2,13 @@
2EAPI void 2EAPI void
3elm_flip_interaction_set(Elm_Flip *obj, Elm_Flip_Interaction mode) 3elm_flip_interaction_set(Elm_Flip *obj, Elm_Flip_Interaction mode)
4{ 4{
5 efl_ui_flip_interaction_set(obj, mode); 5 efl_ui_flip_interaction_set(obj, (Efl_Ui_Flip_Interaction)mode);
6} 6}
7 7
8EAPI Elm_Flip_Interaction 8EAPI Elm_Flip_Interaction
9elm_flip_interaction_get(const Elm_Flip *obj) 9elm_flip_interaction_get(const Elm_Flip *obj)
10{ 10{
11 return efl_ui_flip_interaction_get(obj); 11 return (Elm_Flip_Interaction)efl_ui_flip_interaction_get(obj);
12} 12}
13 13
14EAPI Eina_Bool 14EAPI Eina_Bool
@@ -20,11 +20,11 @@ elm_flip_front_visible_get(const Elm_Flip *obj)
20EAPI void 20EAPI void
21elm_flip_go(Elm_Flip *obj, Elm_Flip_Mode mode) 21elm_flip_go(Elm_Flip *obj, Elm_Flip_Mode mode)
22{ 22{
23 efl_ui_flip_go(obj, mode); 23 efl_ui_flip_go(obj, (Efl_Ui_Flip_Mode)mode);
24} 24}
25 25
26EAPI void 26EAPI void
27elm_flip_go_to(Elm_Flip *obj, Eina_Bool front, Elm_Flip_Mode mode) 27elm_flip_go_to(Elm_Flip *obj, Eina_Bool front, Elm_Flip_Mode mode)
28{ 28{
29 efl_ui_flip_go_to(obj, front, mode); 29 efl_ui_flip_go_to(obj, front, (Efl_Ui_Flip_Mode)mode);
30} 30}