summaryrefslogtreecommitdiff
path: root/src/bin/widgets_file_icons_2_same.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-11 12:40:21 +0000
committerTom Hacohen <tom@stosb.com>2016-03-11 12:40:21 +0000
commita927cdd1a41f418dd1ca6f5db5138e629b1b3758 (patch)
tree8392f28ad2068908d4edeef73c23642c97f91813 /src/bin/widgets_file_icons_2_same.c
parent1c99584bcb72aabedfb7e9696bae1661c14ddd0c (diff)
Revert "Automatic migration to the new eo_add syntax."
We reverted those changes. This reverts commit 1c99584bcb72aabedfb7e9696bae1661c14ddd0c.
Diffstat (limited to 'src/bin/widgets_file_icons_2_same.c')
-rw-r--r--src/bin/widgets_file_icons_2_same.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/widgets_file_icons_2_same.c b/src/bin/widgets_file_icons_2_same.c
index 2d7d9c3..113cc5b 100644
--- a/src/bin/widgets_file_icons_2_same.c
+++ b/src/bin/widgets_file_icons_2_same.c
@@ -31,14 +31,14 @@ static void _setup(void)
31 Evas_Object *o; 31 Evas_Object *o;
32 for (i = 0; i < NUM; i++) 32 for (i = 0; i < NUM; i++)
33 { 33 {
34 eo_add(&o, EVAS_IMAGE_CLASS, evas); 34 o = eo_add(EVAS_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_set(o, build_path(icons[i % 1]), NULL);
37 efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); 37 efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE);
38 efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); 38 efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE);
39 efl_gfx_visible_set(o, EINA_TRUE); 39 efl_gfx_visible_set(o, EINA_TRUE);
40 40
41 eo_add(&o, EVAS_TEXT_CLASS, evas); 41 o = eo_add(EVAS_TEXT_CLASS, evas);
42 o_texts[i] = o; 42 o_texts[i] = o;
43 efl_text_properties_font_set(o, "Vera-Bold", 10); 43 efl_text_properties_font_set(o, "Vera-Bold", 10);
44 efl_text_set(o, icons[i % 1]); 44 efl_text_set(o, icons[i % 1]);