summaryrefslogtreecommitdiff
path: root/src/examples/elementary/efl_ui_relative_layout_example_02.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-09-20 14:57:09 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-09-24 16:00:44 +0200
commit594fc084427a5c090bff02782015c070416f5c2c (patch)
tree70f4681ac33606d8b880ecb235f64918cf3c408e /src/examples/elementary/efl_ui_relative_layout_example_02.c
parent5493cc539678739471d5c6444a36dc5fdc3866a8 (diff)
efl_ui_win: default the window type to basic
normally when you create a window, you just want to have it beeing a basic window. If not you still can set the window type. ref T8229 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D10049
Diffstat (limited to 'src/examples/elementary/efl_ui_relative_layout_example_02.c')
-rw-r--r--src/examples/elementary/efl_ui_relative_layout_example_02.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/examples/elementary/efl_ui_relative_layout_example_02.c b/src/examples/elementary/efl_ui_relative_layout_example_02.c
index fe254633bb..bc3740d601 100644
--- a/src/examples/elementary/efl_ui_relative_layout_example_02.c
+++ b/src/examples/elementary/efl_ui_relative_layout_example_02.c
@@ -16,8 +16,7 @@ elm_main(int argc, char **argv)
16 Eo *win, *layout, *btn1, *btn2; 16 Eo *win, *layout, *btn1, *btn2;
17 17
18 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), 18 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
19 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), 19 efl_text_set(efl_added, "Efl.Ui.Relative_Layout"),
20 efl_text_set(efl_added, "Efl.Ui.Relative_Layout"),
21 efl_ui_win_autodel_set(efl_added, EINA_TRUE)); 20 efl_ui_win_autodel_set(efl_added, EINA_TRUE));
22 21
23 layout = efl_add(EFL_UI_RELATIVE_LAYOUT_CLASS, win, 22 layout = efl_add(EFL_UI_RELATIVE_LAYOUT_CLASS, win,