diff --git a/reference/c/core/src/core_loop.c b/reference/c/core/src/core_loop.c index 35116e84..0e7f545f 100644 --- a/reference/c/core/src/core_loop.c +++ b/reference/c/core/src/core_loop.c @@ -119,7 +119,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev) Efl_Loop *loop; loop = ev->object; - version = efl_loop_efl_version_get(loop); + version = efl_app_efl_version_get(loop); printf("Running on EFL version %d.%d.%d [%s]\n\n", version->major, version->minor, version->micro, version->build_id); _print_loop(loop, "Application"); diff --git a/reference/c/net/src/net_session.c b/reference/c/net/src/net_session.c index 609d84b5..d08acb13 100644 --- a/reference/c/net/src/net_session.c +++ b/reference/c/net/src/net_session.c @@ -68,7 +68,7 @@ _session_changed(void *data EINA_UNUSED, const Efl_Event *event) " state: %s\n" " technology: %s\n" " interface: '%s'\n", - efl_net_session_name_get(session), + efl_net_session_network_name_get(session), _state_name(efl_net_session_state_get(session)), _technology_name(efl_net_session_technology_get(session)), efl_net_session_interface_get(session)); diff --git a/tutorial/c/eo-classes/src/example_rectangle.c b/tutorial/c/eo-classes/src/example_rectangle.c index 30b73774..85509395 100644 --- a/tutorial/c/eo-classes/src/example_rectangle.c +++ b/tutorial/c/eo-classes/src/example_rectangle.c @@ -14,7 +14,7 @@ _example_rectangle_width_set(Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd, in } EOLIAN static int -_example_rectangle_width_get(Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd) +_example_rectangle_width_get(const Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd) { return pd->width; } @@ -26,7 +26,7 @@ _example_rectangle_height_set(Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd, i } EOLIAN static int -_example_rectangle_height_get(Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd) +_example_rectangle_height_get(const Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd) { return pd->height; } diff --git a/tutorial/c/eo-inherit/src/example_rectangle.c b/tutorial/c/eo-inherit/src/example_rectangle.c index 30b73774..85509395 100644 --- a/tutorial/c/eo-inherit/src/example_rectangle.c +++ b/tutorial/c/eo-inherit/src/example_rectangle.c @@ -14,7 +14,7 @@ _example_rectangle_width_set(Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd, in } EOLIAN static int -_example_rectangle_width_get(Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd) +_example_rectangle_width_get(const Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd) { return pd->width; } @@ -26,7 +26,7 @@ _example_rectangle_height_set(Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd, i } EOLIAN static int -_example_rectangle_height_get(Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd) +_example_rectangle_height_get(const Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd) { return pd->height; } diff --git a/tutorial/c/eo-multiinherit/src/example_circle.c b/tutorial/c/eo-multiinherit/src/example_circle.c index 7fe69b2a..5bdc94b3 100644 --- a/tutorial/c/eo-multiinherit/src/example_circle.c +++ b/tutorial/c/eo-multiinherit/src/example_circle.c @@ -14,7 +14,7 @@ _example_circle_radius_set(Eo *obj EINA_UNUSED, Example_Circle_Data *pd, int rad } EOLIAN static int -_example_circle_radius_get(Eo *obj EINA_UNUSED , Example_Circle_Data *pd) +_example_circle_radius_get(const Eo *obj EINA_UNUSED , Example_Circle_Data *pd) { return pd->radius; } diff --git a/tutorial/c/eo-multiinherit/src/example_colored.c b/tutorial/c/eo-multiinherit/src/example_colored.c index e054a530..2c9135fc 100644 --- a/tutorial/c/eo-multiinherit/src/example_colored.c +++ b/tutorial/c/eo-multiinherit/src/example_colored.c @@ -17,7 +17,7 @@ _example_colored_color_set(Eo *obj EINA_UNUSED, Example_Colored_Data *pd, } EOLIAN static void -_example_colored_color_get(Eo *obj EINA_UNUSED, Example_Colored_Data *pd, +_example_colored_color_get(const Eo *obj EINA_UNUSED, Example_Colored_Data *pd, int *red, int *green, int *blue) { if (red) diff --git a/tutorial/c/eo-multiinherit/src/example_rectangle.c b/tutorial/c/eo-multiinherit/src/example_rectangle.c index ef5a08b7..8b82700f 100644 --- a/tutorial/c/eo-multiinherit/src/example_rectangle.c +++ b/tutorial/c/eo-multiinherit/src/example_rectangle.c @@ -14,7 +14,7 @@ _example_rectangle_width_set(Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd, in } EOLIAN static int -_example_rectangle_width_get(Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd) +_example_rectangle_width_get(const Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd) { return pd->width; } @@ -26,7 +26,7 @@ _example_rectangle_height_set(Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd, i } EOLIAN static int -_example_rectangle_height_get(Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd) +_example_rectangle_height_get(const Eo *obj EINA_UNUSED, Example_Rectangle_Data *pd) { return pd->height; } diff --git a/tutorial/c/lifecycle/src/lifecycle_main.c b/tutorial/c/lifecycle/src/lifecycle_main.c index 5165661c..0a6f3b86 100644 --- a/tutorial/c/lifecycle/src/lifecycle_main.c +++ b/tutorial/c/lifecycle/src/lifecycle_main.c @@ -21,11 +21,11 @@ _lifecycle_simulation(void *data, const Efl_Event *ev EINA_UNUSED) { case 0: // First call, pause the application - efl_event_callback_call(loop, EFL_LOOP_EVENT_PAUSE, NULL); + efl_event_callback_call(loop, EFL_APP_EVENT_PAUSE, NULL); break; case 1: // Second call, resume the application - efl_event_callback_call(loop, EFL_LOOP_EVENT_RESUME, NULL); + efl_event_callback_call(loop, EFL_APP_EVENT_RESUME, NULL); break; default: // Last call, exit the application