summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/examples/elementary/clock_example.js2
-rw-r--r--src/lib/elementary/efl_ui_layout_pack.c8
-rw-r--r--src/lib/elementary/efl_ui_layout_part_box.eo4
3 files changed, 7 insertions, 7 deletions
diff --git a/src/examples/elementary/clock_example.js b/src/examples/elementary/clock_example.js
index c15a54d63e..94eef0e136 100644
--- a/src/examples/elementary/clock_example.js
+++ b/src/examples/elementary/clock_example.js
@@ -9,7 +9,7 @@ bx = new efl.Efl.Ui.Box(win);
9bx.setHintWeight(1.0, 1.0); 9bx.setHintWeight(1.0, 1.0);
10win.setContent(bx); 10win.setContent(bx);
11bx.setVisible(true); 11bx.setVisible(true);
12bx.setOrientation(efl.Efl.Orient.VERTICAL); 12bx.setDirection(efl.Efl.Dir.VERTICAL);
13 13
14ck = new efl.Elm.Clock(win); 14ck = new efl.Elm.Clock(win);
15bx.packEnd(ck); 15bx.packEnd(ck);
diff --git a/src/lib/elementary/efl_ui_layout_pack.c b/src/lib/elementary/efl_ui_layout_pack.c
index f002a34f33..b77ebf7333 100644
--- a/src/lib/elementary/efl_ui_layout_pack.c
+++ b/src/lib/elementary/efl_ui_layout_pack.c
@@ -255,12 +255,12 @@ _efl_ui_layout_part_box_efl_pack_linear_pack_index_get(Eo *obj EINA_UNUSED, Efl_
255 ELM_PART_RETURN_VAL(efl_pack_index_get(pack, subobj)); 255 ELM_PART_RETURN_VAL(efl_pack_index_get(pack, subobj));
256} 256}
257 257
258EOLIAN static Efl_Orient 258EOLIAN static Efl_Ui_Dir
259_efl_ui_layout_part_box_efl_orientation_orientation_get(Eo *obj EINA_UNUSED, Efl_Ui_Layout_Box_Data *pd) 259_efl_ui_layout_part_box_efl_ui_direction_direction_get(Eo *obj EINA_UNUSED, Efl_Ui_Layout_Box_Data *pd)
260{ 260{
261 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_ORIENT_NONE); 261 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_DIR_DEFAULT);
262 262
263 ELM_PART_RETURN_VAL(efl_orientation_get(efl_part(wd->resize_obj, pd->part))); 263 ELM_PART_RETURN_VAL(efl_ui_direction_get(efl_part(wd->resize_obj, pd->part)));
264} 264}
265 265
266 266
diff --git a/src/lib/elementary/efl_ui_layout_part_box.eo b/src/lib/elementary/efl_ui_layout_part_box.eo
index a0e72964f6..02e2be0e90 100644
--- a/src/lib/elementary/efl_ui_layout_part_box.eo
+++ b/src/lib/elementary/efl_ui_layout_part_box.eo
@@ -1,5 +1,5 @@
1class Efl.Ui.Layout.Part.Box (Efl.Object, Efl.Pack.Linear, 1class Efl.Ui.Layout.Part.Box (Efl.Object, Efl.Pack.Linear,
2 Efl.Orientation) 2 Efl.Ui.Direction)
3{ 3{
4 [[Represents a Box created as part of a layout. 4 [[Represents a Box created as part of a layout.
5 5
@@ -22,7 +22,7 @@ class Efl.Ui.Layout.Part.Box (Efl.Object, Efl.Pack.Linear,
22 Efl.Container.content_iterate; 22 Efl.Container.content_iterate;
23 Efl.Container.content_count; 23 Efl.Container.content_count;
24 Efl.Container.content_remove; 24 Efl.Container.content_remove;
25 Efl.Orientation.orientation { get; } 25 Efl.Ui.Direction.direction { get; }
26 Efl.Pack.pack_clear; 26 Efl.Pack.pack_clear;
27 Efl.Pack.unpack_all; 27 Efl.Pack.unpack_all;
28 Efl.Pack.unpack; 28 Efl.Pack.unpack;