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_list_2_grouped.c | |
parent | 088df1425e5ee03f3f26ce209b2040985e8231c5 (diff) |
Automatic migration to the new eo_add syntax.
Diffstat (limited to 'src/bin/widgets_list_2_grouped.c')
-rw-r--r-- | src/bin/widgets_list_2_grouped.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/widgets_list_2_grouped.c b/src/bin/widgets_list_2_grouped.c index c3da64a..ab20674 100644 --- a/src/bin/widgets_list_2_grouped.c +++ b/src/bin/widgets_list_2_grouped.c | |||
@@ -62,7 +62,7 @@ static void _setup(void) | |||
62 | Evas_Object *o; | 62 | Evas_Object *o; |
63 | for (i = 0; i < NUM; i++) | 63 | for (i = 0; i < NUM; i++) |
64 | { | 64 | { |
65 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 65 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
66 | o_images[i] = o; | 66 | o_images[i] = o; |
67 | evas_obj_image_filled_set(o, 1); | 67 | evas_obj_image_filled_set(o, 1); |
68 | evas_obj_image_border_set(o, 2, 2, 2, 2); | 68 | evas_obj_image_border_set(o, 2, 2, 2, 2); |
@@ -70,7 +70,7 @@ static void _setup(void) | |||
70 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 70 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
71 | efl_gfx_visible_set(o, EINA_TRUE); | 71 | efl_gfx_visible_set(o, EINA_TRUE); |
72 | 72 | ||
73 | o = eo_add(EVAS_TEXT_CLASS, evas); | 73 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
74 | o_texts[i] = o; | 74 | o_texts[i] = o; |
75 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 75 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
76 | efl_text_set(o, labels[i % 26]); | 76 | efl_text_set(o, labels[i % 26]); |