aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_ui_clock.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-29 00:42:10 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-29 13:30:55 +0900
commit2fb5cc3ad09f6aaf82b5d1131ac5ed22ed848bd4 (patch)
tree7a2c2c0371789ae4b139ebdf4a9ef60f82d324aa /src/bin/elementary/test_ui_clock.c
parentelm_code: Remove a render test and complex workarounds required (diff)
downloadefl-2fb5cc3ad09f6aaf82b5d1131ac5ed22ed848bd4.tar.gz
efl_add_ref - fis to use efl_add properly with a parent.
Diffstat (limited to 'src/bin/elementary/test_ui_clock.c')
-rw-r--r--src/bin/elementary/test_ui_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/elementary/test_ui_clock.c b/src/bin/elementary/test_ui_clock.c
index 2e667b5026..4a60345621 100644
--- a/src/bin/elementary/test_ui_clock.c
+++ b/src/bin/elementary/test_ui_clock.c
@@ -47,7 +47,7 @@ test_ui_clock(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
{
Evas_Object *win, *bx;
- win = efl_add_ref(EFL_UI_WIN_CLASS, NULL,
+ win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
efl_ui_win_type_set(efl_added, EFL_UI_WIN_BASIC),
efl_text_set(efl_added, "Efl.Ui.Clock"),
efl_ui_win_autodel_set(efl_added, EINA_TRUE));