aboutsummaryrefslogtreecommitdiffstats
path: root/reference
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-04-23 13:35:36 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-04-23 13:35:36 -0700
commit0448e6cfa48e4a69978356147c08b57091db36d6 (patch)
treefe035261947df52b89449225ab94ff415e0503d4 /reference
parentupdate examples to match args change (diff)
downloadexamples-0448e6cfa48e4a69978356147c08b57091db36d6.tar.gz
Update examples to latest EFL API
Summary: Some of the EFL tutorials are not currently building due to changes in the API : * const Eo* in getters. * Efl.Loop -> Efl.App * efl_net_session_name -> efl_net_session_network_name Reviewers: cedric Tags: #efl Differential Revision: https://phab.enlightenment.org/D5977
Diffstat (limited to 'reference')
-rw-r--r--reference/c/core/src/core_loop.c2
-rw-r--r--reference/c/net/src/net_session.c2
2 files changed, 2 insertions, 2 deletions
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));