aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-07 14:46:09 -0500
committerCedric BAIL <cedric.bail@free.fr>2019-03-07 14:44:06 -0800
commitd8b46509c736886b0b4650009ad6036e51186346 (patch)
tree422f812e65914d3e0b05786202a375e7a4ef55cc /src/lib/elementary/efl_ui_win.c
parentelm: unfuck public headers (only a little) (diff)
downloadefl-d8b46509c736886b0b4650009ad6036e51186346.tar.gz
efl_ui_win: do not use Efl.Orient
windows are not restricted to 90 degree rotations. also this type shouldn't be stable yet ref https://phab.enlightenment.org/T7511 ref https://phab.enlightenment.org/T7726 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8239
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-rw-r--r--src/lib/elementary/efl_ui_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 24b88f6f08..4989adf344 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -1662,7 +1662,7 @@ _win_rotate(Evas_Object *obj, Efl_Ui_Win_Data *sd, int rotation, Eina_Bool resiz
}
EOLIAN static void
-_efl_ui_win_win_rotation_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, Efl_Orient rotation)
+_efl_ui_win_win_rotation_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, int rotation)
{
Efl_Ui_Widget *widget;
Eina_Iterator *it;
@@ -1682,7 +1682,7 @@ _efl_ui_win_win_rotation_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, Efl_Orien
}
}
-EOLIAN static Efl_Orient
+EOLIAN static int
_efl_ui_win_win_rotation_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd)
{
return pd->rotation;