summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-25 12:44:15 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-25 13:21:25 +0100
commiteab898e592c626916c19f48947127f4b40273c7d (patch)
tree092b054b8bbe952624b48c5e8fd93c1fec93c6ac
parentd30c1111bcb47f2a31dd11855ef88a7a41a4d971 (diff)
edje - fix enum cast warnings - checked values
-rw-r--r--src/lib/edje/edje_legacy.c2
-rw-r--r--src/lib/edje/edje_part.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/edje/edje_legacy.c b/src/lib/edje/edje_legacy.c
index 414de4f982..299b61c598 100644
--- a/src/lib/edje/edje_legacy.c
+++ b/src/lib/edje/edje_legacy.c
@@ -221,7 +221,7 @@ EAPI double edje_object_scale_get(const Edje_Object *obj)
221EAPI Edje_Drag_Dir 221EAPI Edje_Drag_Dir
222edje_object_part_drag_dir_get(const Evas_Object *obj, const char *part) 222edje_object_part_drag_dir_get(const Evas_Object *obj, const char *part)
223{ 223{
224 return efl_ui_drag_dir_get(efl_part(obj, part)); 224 return (Edje_Drag_Dir)efl_ui_drag_dir_get(efl_part(obj, part));
225} 225}
226 226
227EAPI Eina_Bool 227EAPI Eina_Bool
diff --git a/src/lib/edje/edje_part.c b/src/lib/edje/edje_part.c
index b5a477bab4..cd1bf399b2 100644
--- a/src/lib/edje/edje_part.c
+++ b/src/lib/edje/edje_part.c
@@ -155,7 +155,7 @@ _efl_canvas_layout_part_efl_ui_drag_drag_size_get(const Eo *obj EINA_UNUSED, Efl
155EOLIAN static Efl_Ui_Drag_Dir 155EOLIAN static Efl_Ui_Drag_Dir
156_efl_canvas_layout_part_efl_ui_drag_drag_dir_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd) 156_efl_canvas_layout_part_efl_ui_drag_drag_dir_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd)
157{ 157{
158 return _edje_object_part_drag_dir_get(pd->ed, pd->part); 158 return (Efl_Ui_Drag_Dir)_edje_object_part_drag_dir_get(pd->ed, pd->part);
159} 159}
160 160
161EOLIAN static Eina_Bool 161EOLIAN static Eina_Bool