summaryrefslogtreecommitdiff
path: root/src/bin/widgets_file_icons_2_same.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@ddlm.me>2019-03-13 17:17:36 -0700
committerCedric BAIL <cedric@ddlm.me>2019-03-13 17:19:06 -0700
commit153818c6bcfe3476ababe93e3c4dfdc5c0f2bb3e (patch)
tree985a4c23c60f0a81f6c1db232cc4652f15cf8ea9 /src/bin/widgets_file_icons_2_same.c
parenta12ab95df071167e68439f10251d5eaa71187558 (diff)
efl: use new API efl_file_simple_load.
Diffstat (limited to 'src/bin/widgets_file_icons_2_same.c')
-rw-r--r--src/bin/widgets_file_icons_2_same.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/widgets_file_icons_2_same.c b/src/bin/widgets_file_icons_2_same.c
index afe4117..05571b5 100644
--- a/src/bin/widgets_file_icons_2_same.c
+++ b/src/bin/widgets_file_icons_2_same.c
@@ -33,7 +33,7 @@ static void _setup(void)
33 { 33 {
34 o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas); 34 o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
35 o_images[i] = o; 35 o_images[i] = o;
36 efl_file_set(o, build_path(icons[i % 1]), NULL); 36 efl_file_simple_load(o, build_path(icons[i % 1]), NULL);
37 efl_gfx_fill_set(o, EINA_RECT(0, 0, ICON_SIZE, ICON_SIZE)); 37 efl_gfx_fill_set(o, EINA_RECT(0, 0, ICON_SIZE, ICON_SIZE));
38 efl_gfx_entity_size_set(o, EINA_SIZE2D(ICON_SIZE, ICON_SIZE)); 38 efl_gfx_entity_size_set(o, EINA_SIZE2D(ICON_SIZE, ICON_SIZE));
39 efl_gfx_entity_visible_set(o, EINA_TRUE); 39 efl_gfx_entity_visible_set(o, EINA_TRUE);