summaryrefslogtreecommitdiff
path: root/reference/c/ui/src
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-04-23 12:27:50 +0200
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-05-01 13:21:12 -0400
commit4a8b562a40dfffb96288f56346cd2b140079ea0e (patch)
tree3407e70f70928464307b51adbb52ac5944709f74 /reference/c/ui/src
parent09923d92c2936c086b738c6001c53ebd17e36f13 (diff)
Update examples after EFL API rename
Differential Revision: https://phab.enlightenment.org/D6002
Diffstat (limited to 'reference/c/ui/src')
-rw-r--r--reference/c/ui/src/ui_container.c2
-rw-r--r--reference/c/ui/src/ui_sizing.c2
-rw-r--r--reference/c/ui/src/ui_translation.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/reference/c/ui/src/ui_container.c b/reference/c/ui/src/ui_container.c
index b18d10d3..c98555f8 100644
--- a/reference/c/ui/src/ui_container.c
+++ b/reference/c/ui/src/ui_container.c
@@ -117,7 +117,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
117 117
118 _ui_panes_setup(win); 118 _ui_panes_setup(win);
119 119
120 efl_gfx_size_set(win, EINA_SIZE2D(350, 250)); 120 efl_gfx_entity_size_set(win, EINA_SIZE2D(350, 250));
121} 121}
122EFL_MAIN() 122EFL_MAIN()
123 123
diff --git a/reference/c/ui/src/ui_sizing.c b/reference/c/ui/src/ui_sizing.c
index 8815466e..72dfa18e 100644
--- a/reference/c/ui/src/ui_sizing.c
+++ b/reference/c/ui/src/ui_sizing.c
@@ -52,7 +52,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
52 efl_pack_end(box, efl_added), 52 efl_pack_end(box, efl_added),
53 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(100, 100))); 53 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(100, 100)));
54 54
55 efl_gfx_size_set(win, EINA_SIZE2D(320, 320)); 55 efl_gfx_entity_size_set(win, EINA_SIZE2D(320, 320));
56} 56}
57EFL_MAIN() 57EFL_MAIN()
58 58
diff --git a/reference/c/ui/src/ui_translation.c b/reference/c/ui/src/ui_translation.c
index 8b4dc4cc..92956e10 100644
--- a/reference/c/ui/src/ui_translation.c
+++ b/reference/c/ui/src/ui_translation.c
@@ -60,7 +60,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
60 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 60 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED,
61 _gui_quit_cb, efl_added)); 61 _gui_quit_cb, efl_added));
62 62
63 efl_gfx_size_set(win, EINA_SIZE2D(320, 320)); 63 efl_gfx_entity_size_set(win, EINA_SIZE2D(320, 320));
64} 64}
65EFL_MAIN() 65EFL_MAIN()
66 66