aboutsummaryrefslogtreecommitdiffstats
path: root/reference
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
parentFix double frees and incorrect nprintf in eina_string example (diff)
downloadexamples-4a8b562a40dfffb96288f56346cd2b140079ea0e.tar.gz
Update examples after EFL API rename
Differential Revision: https://phab.enlightenment.org/D6002
Diffstat (limited to 'reference')
-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)
_ui_panes_setup(win);
- efl_gfx_size_set(win, EINA_SIZE2D(350, 250));
+ efl_gfx_entity_size_set(win, EINA_SIZE2D(350, 250));
}
EFL_MAIN()
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)
efl_pack_end(box, efl_added),
efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(100, 100)));
- efl_gfx_size_set(win, EINA_SIZE2D(320, 320));
+ efl_gfx_entity_size_set(win, EINA_SIZE2D(320, 320));
}
EFL_MAIN()
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)
efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED,
_gui_quit_cb, efl_added));
- efl_gfx_size_set(win, EINA_SIZE2D(320, 320));
+ efl_gfx_entity_size_set(win, EINA_SIZE2D(320, 320));
}
EFL_MAIN()