summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_win_stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/elementary/test_win_stack.c')
-rw-r--r--src/bin/elementary/test_win_stack.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/elementary/test_win_stack.c b/src/bin/elementary/test_win_stack.c
index d13072d..c16c07b 100644
--- a/src/bin/elementary/test_win_stack.c
+++ b/src/bin/elementary/test_win_stack.c
@@ -4,6 +4,7 @@
4 4
5// Stack API is still beta (and EO only) 5// Stack API is still beta (and EO only)
6#define EFL_UI_WIN_BETA 6#define EFL_UI_WIN_BETA
7#include <Efl_Ui.h>
7#include <Elementary.h> 8#include <Elementary.h>
8 9
9static int level = 0; 10static int level = 0;
@@ -20,13 +21,13 @@ _win_new(Evas_Object *stack_top, const char *title)
20 if (level >= 3) 21 if (level >= 3)
21 win = efl_add_ref(EFL_UI_WIN_CLASS, NULL, 22 win = efl_add_ref(EFL_UI_WIN_CLASS, NULL,
22 efl_ui_win_name_set(efl_added, "window-stack"), 23 efl_ui_win_name_set(efl_added, "window-stack"),
23 efl_ui_win_type_set(efl_added, ELM_WIN_NAVIFRAME_BASIC), 24 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_NAVIFRAME_BASIC),
24 efl_text_set(efl_added, title), 25 efl_text_set(efl_added, title),
25 efl_ui_win_autodel_set(efl_added, EINA_TRUE)); 26 efl_ui_win_autodel_set(efl_added, EINA_TRUE));
26 else 27 else
27 win = efl_add_ref(EFL_UI_WIN_CLASS, NULL, 28 win = efl_add_ref(EFL_UI_WIN_CLASS, NULL,
28 efl_ui_win_name_set(efl_added, "window-stack"), 29 efl_ui_win_name_set(efl_added, "window-stack"),
29 efl_ui_win_type_set(efl_added, ELM_WIN_DIALOG_BASIC), 30 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_DIALOG_BASIC),
30 efl_text_set(efl_added, title), 31 efl_text_set(efl_added, title),
31 efl_ui_win_autodel_set(efl_added, EINA_TRUE)); 32 efl_ui_win_autodel_set(efl_added, EINA_TRUE));
32 33