summaryrefslogtreecommitdiff
path: root/reference/c/ui/src/ui_container.c
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-05-25 10:17:51 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-25 10:17:51 -0700
commit33dad0d59cd6deb64685cbd8460db6c49cf94780 (patch)
treece0fb61cbfa12bc9b61307a5d9f03abbcb79e3e7 /reference/c/ui/src/ui_container.c
parent3e23c210cb2ab0a93a6fc8f5cbcf9c028628a681 (diff)
Update examples to efl_new / efl_add / efl_add_ref
Reviewers: cedric, q66, bu5hm4n Reviewed By: cedric, bu5hm4n Differential Revision: https://phab.enlightenment.org/D6058
Diffstat (limited to 'reference/c/ui/src/ui_container.c')
-rw-r--r--reference/c/ui/src/ui_container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/reference/c/ui/src/ui_container.c b/reference/c/ui/src/ui_container.c
index c98555f8..21156579 100644
--- a/reference/c/ui/src/ui_container.c
+++ b/reference/c/ui/src/ui_container.c
@@ -107,7 +107,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
107{ 107{
108 Eo *win; 108 Eo *win;
109 109
110 win = efl_add(EFL_UI_WIN_CLASS, NULL, 110 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
111 efl_ui_win_type_set(efl_added, EFL_UI_WIN_BASIC), 111 efl_ui_win_type_set(efl_added, EFL_UI_WIN_BASIC),
112 efl_text_set(efl_added, "Hello World"), 112 efl_text_set(efl_added, "Hello World"),
113 efl_ui_win_autodel_set(efl_added, EINA_TRUE)); 113 efl_ui_win_autodel_set(efl_added, EINA_TRUE));