diff options
author | Tom Hacohen <tom@stosb.com> | 2016-03-09 16:31:15 +0000 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2016-03-09 16:31:15 +0000 |
commit | 1c99584bcb72aabedfb7e9696bae1661c14ddd0c (patch) | |
tree | 26520d3aa0702279bcd0f9c02f2dfa549006073e /src/bin/widgets_file_icons_2_same.c | |
parent | 088df1425e5ee03f3f26ce209b2040985e8231c5 (diff) |
Automatic migration to the new eo_add syntax.
Diffstat (limited to 'src/bin/widgets_file_icons_2_same.c')
-rw-r--r-- | src/bin/widgets_file_icons_2_same.c | 4 |
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 113cc5b..2d7d9c3 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 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 34 | eo_add(&o, 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 | o = eo_add(EVAS_TEXT_CLASS, evas); | 41 | eo_add(&o, 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]); |