examples: Fix compilation (use legacy func)

name has been removed (it's part of EO).
This commit is contained in:
Jean-Philippe Andre 2016-06-17 19:28:57 +09:00
parent 73f12dfab2
commit 4d813f6dbf
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ main(void)
d.bg = eo_add(EFL_CANVAS_RECTANGLE_CLASS, d.canvas);
/* Eo-styled way to perform actions on an object*/
evas_obj_name_set(d.bg, "background rectangle");
evas_object_name_set(d.bg, "background rectangle");
efl_gfx_color_set(d.bg, 255, 255, 255, 255);
/* white bg */
efl_gfx_position_set(d.bg, 0, 0);