diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-05-26 18:29:05 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-05-26 18:48:51 +0900 |
commit | 74007f65bca31abd3f0a7aad67829f62397c3877 (patch) | |
tree | 0d30ce3c56103d3a2dd88243f7285cf67718fe1a /src/bin/widgets_list_2_grouped.c | |
parent | 9a98d6376b3024bea4e07269ab64f85d73de01d6 (diff) |
Fix compilation - use eo_unref and buffer map
Remove eo api usage for TEXT and LINE objects.
This is a very quickly made patch, in order to test. Expedite
tests might need to be fixed up a little bit more if we use eo_halt.
Running expedite spews out TONS of errors.
Diffstat (limited to 'src/bin/widgets_list_2_grouped.c')
-rw-r--r-- | src/bin/widgets_list_2_grouped.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/widgets_list_2_grouped.c b/src/bin/widgets_list_2_grouped.c index ad3d866..4f66149 100644 --- a/src/bin/widgets_list_2_grouped.c +++ b/src/bin/widgets_list_2_grouped.c | |||
@@ -69,7 +69,7 @@ static void _setup(void) | |||
69 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 69 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
70 | efl_gfx_visible_set(o, EINA_TRUE); | 70 | efl_gfx_visible_set(o, EINA_TRUE); |
71 | 71 | ||
72 | o = eo_add(EVAS_TEXT_CLASS, evas); | 72 | o = evas_object_text_add(evas); |
73 | o_texts[i] = o; | 73 | o_texts[i] = o; |
74 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 74 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
75 | efl_text_set(o, labels[i % 26]); | 75 | efl_text_set(o, labels[i % 26]); |
@@ -93,8 +93,8 @@ static void _cleanup(void) | |||
93 | int i; | 93 | int i; |
94 | for (i = 0; i < NUM; i++) | 94 | for (i = 0; i < NUM; i++) |
95 | { | 95 | { |
96 | eo_del(o_images[i]); | 96 | eo_unref(o_images[i]); |
97 | eo_del(o_texts[i]); | 97 | eo_unref(o_texts[i]); |
98 | } | 98 | } |
99 | } | 99 | } |
100 | 100 | ||