summaryrefslogtreecommitdiff
path: root/src/bin/widgets_list_2_grouped.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_list_2_grouped.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_list_2_grouped.c')
-rw-r--r--src/bin/widgets_list_2_grouped.c4
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 ab20674..c3da64a 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 eo_add(&o, EVAS_IMAGE_CLASS, evas); 65 o = eo_add(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 eo_add(&o, EVAS_TEXT_CLASS, evas); 73 o = eo_add(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]);