summaryrefslogtreecommitdiff
path: root/src/bin/widgets_list_2_grouped.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/widgets_list_2_grouped.c')
-rw-r--r--src/bin/widgets_list_2_grouped.c6
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