summaryrefslogtreecommitdiff
path: root/src/bin/widgets_file_icons_2_same.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-05-26 18:29:05 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-05-26 18:48:51 +0900
commit74007f65bca31abd3f0a7aad67829f62397c3877 (patch)
tree0d30ce3c56103d3a2dd88243f7285cf67718fe1a /src/bin/widgets_file_icons_2_same.c
parent9a98d6376b3024bea4e07269ab64f85d73de01d6 (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_file_icons_2_same.c')
-rw-r--r--src/bin/widgets_file_icons_2_same.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/widgets_file_icons_2_same.c b/src/bin/widgets_file_icons_2_same.c
index 113cc5b..e8e2ebb 100644
--- a/src/bin/widgets_file_icons_2_same.c
+++ b/src/bin/widgets_file_icons_2_same.c
@@ -38,7 +38,7 @@ static void _setup(void)
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 o = evas_object_text_add(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]);
@@ -54,8 +54,8 @@ static void _cleanup(void)
54 int i; 54 int i;
55 for (i = 0; i < NUM; i++) 55 for (i = 0; i < NUM; i++)
56 { 56 {
57 eo_del(o_images[i]); 57 eo_unref(o_images[i]);
58 eo_del(o_texts[i]); 58 eo_unref(o_texts[i]);
59 } 59 }
60} 60}
61 61