forked from enlightenment/efl
examples: Fix compilation (use legacy func)
name has been removed (it's part of EO).
This commit is contained in:
parent
52f9220b3f
commit
4e2d7b5f8b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue