aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/elementary/test_calendar.c')
-rw-r--r--src/bin/elementary/test_calendar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/elementary/test_calendar.c b/src/bin/elementary/test_calendar.c
index aeb31f9951..ba37407c0f 100644
--- a/src/bin/elementary/test_calendar.c
+++ b/src/bin/elementary/test_calendar.c
@@ -431,7 +431,7 @@ test_efl_ui_calendar(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
current_date = time(NULL) + SEC_PER_YEAR;
localtime_r(&current_date, &max_date);
- win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
+ win = efl_add_ref(EFL_UI_WIN_CLASS, NULL,
efl_text_set(efl_added, "Efl Ui Calendar"),
efl_ui_win_autodel_set(efl_added, EINA_TRUE));