xartigas pushed a commit to branch master.

http://git.enlightenment.org/tools/examples.git/commit/?id=0a23c904cbfd702d52e2cab260b40ad06d6b0f58

commit 0a23c904cbfd702d52e2cab260b40ad06d6b0f58
Author: Xavi Artigas <[email protected]>
Date:   Thu Oct 3 12:12:38 2019 +0200

    Game of Life: Remove last uses of Legacy API
---
 apps/c/life/src/life_main.c   | 6 +++---
 apps/c/life/src/life_render.c | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/apps/c/life/src/life_main.c b/apps/c/life/src/life_main.c
index 93728cfa..0a754fbb 100644
--- a/apps/c/life/src/life_main.c
+++ b/apps/c/life/src/life_main.c
@@ -51,12 +51,12 @@ _life_win_key_down(void *data EINA_UNUSED, const Efl_Event 
*event)
      life_board_pause_toggle(win);
 }
 
-static Evas_Object *
+static Efl_Ui_Win *
 _life_win_setup(void)
 {
    Efl_Ui_Win *win;
-   Evas_Coord w;
-   Evas_Coord h;
+   int w;
+   int h;
 
    win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
                  efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC),
diff --git a/apps/c/life/src/life_render.c b/apps/c/life/src/life_render.c
index 32777f35..f5bafacc 100644
--- a/apps/c/life/src/life_render.c
+++ b/apps/c/life/src/life_render.c
@@ -46,7 +46,7 @@ life_render_layout(Efl_Ui_Win *win)
 {
    Eina_Size2D size;
    double cw, ch;
-   Evas_Object *rect;
+   Efl_Canvas_Rectangle *rect;
    int x, y;
 
    size = efl_gfx_entity_size_get(win);
@@ -67,7 +67,7 @@ life_render_layout(Efl_Ui_Win *win)
 void
 life_render_cell(Efl_Ui_Win *win EINA_UNUSED, int x, int y)
 {
-   Evas_Object *rect;
+   Efl_Canvas_Rectangle *rect;
    int i;
 
    i = life_render_index_for_position(x, y);

-- 


Reply via email to