aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_ui_button.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/elementary/test_ui_button.c')
-rw-r--r--src/bin/elementary/test_ui_button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/elementary/test_ui_button.c b/src/bin/elementary/test_ui_button.c
index 6519dadd65..f5aa340ad6 100644
--- a/src/bin/elementary/test_ui_button.c
+++ b/src/bin/elementary/test_ui_button.c
@@ -27,7 +27,7 @@ test_ui_button(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
Eo *win, *bx, *btn;
char buf[PATH_MAX];
- win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
+ win = efl_add_ref(EFL_UI_WIN_CLASS, NULL,
efl_ui_win_type_set(efl_added, EFL_UI_WIN_BASIC),
efl_text_set(efl_added, "Efl.Ui.Button"),
efl_ui_win_autodel_set(efl_added, EINA_TRUE)