aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples/elementary/efl_ui_relative_layout_example_01.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/elementary/efl_ui_relative_layout_example_01.c')
-rw-r--r--src/examples/elementary/efl_ui_relative_layout_example_01.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/examples/elementary/efl_ui_relative_layout_example_01.c b/src/examples/elementary/efl_ui_relative_layout_example_01.c
index 36ebd3f545..7ccec35651 100644
--- a/src/examples/elementary/efl_ui_relative_layout_example_01.c
+++ b/src/examples/elementary/efl_ui_relative_layout_example_01.c
@@ -7,6 +7,7 @@
#define EFL_EO_API_SUPPORT 1
#endif
+#include <Efl_Ui.h>
#include <Elementary.h>
#include <Efl.h>
@@ -16,7 +17,7 @@ elm_main(int argc, char **argv)
Eo *win, *layout, *btn1, *btn2, *btn3;
win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
- efl_ui_win_type_set(efl_added, EFL_UI_WIN_BASIC),
+ efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC),
efl_text_set(efl_added, "Efl.Ui.Relative_Layout"),
efl_ui_win_autodel_set(efl_added, EINA_TRUE));