aboutsummaryrefslogtreecommitdiffstats
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/elementary/test_win_stack.c b/src/bin/elementary/test_win_stack.c
index de16e7bb83..d13072d041 100644
--- a/src/bin/elementary/test_win_stack.c
+++ b/src/bin/elementary/test_win_stack.c
@@ -18,13 +18,13 @@ _win_new(Evas_Object *stack_top, const char *title)
Evas_Object *bg, *bx, *bt, *lb, *win;
if (level >= 3)
- win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
+ win = efl_add_ref(EFL_UI_WIN_CLASS, NULL,
efl_ui_win_name_set(efl_added, "window-stack"),
efl_ui_win_type_set(efl_added, ELM_WIN_NAVIFRAME_BASIC),
efl_text_set(efl_added, title),
efl_ui_win_autodel_set(efl_added, EINA_TRUE));
else
- win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
+ win = efl_add_ref(EFL_UI_WIN_CLASS, NULL,
efl_ui_win_name_set(efl_added, "window-stack"),
efl_ui_win_type_set(efl_added, ELM_WIN_DIALOG_BASIC),
efl_text_set(efl_added, title),