summaryrefslogtreecommitdiff
path: root/src/examples/eio
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-08-10 15:23:04 +0100
committerTom Hacohen <tom@stosb.com>2016-08-11 17:04:43 +0100
commitc662934be8bcbaba60d1688e77533acbea5d09b9 (patch)
tree8e12b5ffd083024f09b7ec7fa9f979113056fb9d /src/examples/eio
parente64e120a51972c44fb8cae88a78bb4aa34f502c7 (diff)
Change the EFL to follow the new Eo rename.
Diffstat (limited to 'src/examples/eio')
-rw-r--r--src/examples/eio/efl_io_manager_ls.c2
-rw-r--r--src/examples/eio/eio_sentry.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/eio/efl_io_manager_ls.c b/src/examples/eio/efl_io_manager_ls.c
index c231badb44..a411de1efb 100644
--- a/src/examples/eio/efl_io_manager_ls.c
+++ b/src/examples/eio/efl_io_manager_ls.c
@@ -52,7 +52,7 @@ void list_files(void *data)
52 const char *path = data; 52 const char *path = data;
53 53
54 Efl_Io_Manager *job = eo_add(EFL_IO_MANAGER_CLASS, NULL); 54 Efl_Io_Manager *job = eo_add(EFL_IO_MANAGER_CLASS, NULL);
55 eo_event_callback_add(job, EFL_IO_MANAGER_EVENT_FILTER_NAME, (Eo_Event_Cb)&filter_cb, NULL); 55 efl_event_callback_add(job, EFL_IO_MANAGER_EVENT_FILTER_NAME, (Efl_Event_Cb)&filter_cb, NULL);
56 promise = efl_io_manager_file_ls(job, path); 56 promise = efl_io_manager_file_ls(job, path);
57 eina_promise_progress_cb_add(promise, (Eina_Promise_Progress_Cb)&progress_cb, NULL, NULL); 57 eina_promise_progress_cb_add(promise, (Eina_Promise_Progress_Cb)&progress_cb, NULL, NULL);
58 eina_promise_then(promise, &done_cb, &error_cb, job); 58 eina_promise_then(promise, &done_cb, &error_cb, job);
diff --git a/src/examples/eio/eio_sentry.c b/src/examples/eio/eio_sentry.c
index 29529025d3..9f8d03d704 100644
--- a/src/examples/eio/eio_sentry.c
+++ b/src/examples/eio/eio_sentry.c
@@ -20,7 +20,7 @@ sentry_cb(void *data EINA_UNUSED, const Eo_Event *event)
20 20
21 ecore_main_loop_quit(); 21 ecore_main_loop_quit();
22 22
23 eo_event_callback_stop(event->object); 23 efl_event_callback_stop(event->object);
24} 24}
25 25
26void 26void
@@ -28,7 +28,7 @@ monitor_stuff(void *data)
28{ 28{
29 const char *path = data; 29 const char *path = data;
30 Eio_Sentry *sentry = eo_add(EIO_SENTRY_CLASS, NULL); 30 Eio_Sentry *sentry = eo_add(EIO_SENTRY_CLASS, NULL);
31 eo_event_callback_add(sentry, EIO_SENTRY_EVENT_FILE_CREATED, (Eo_Event_Cb)&sentry_cb, NULL); 31 efl_event_callback_add(sentry, EIO_SENTRY_EVENT_FILE_CREATED, (Efl_Event_Cb)&sentry_cb, NULL);
32 32
33 printf("Starting monitoring path %s\n", path); 33 printf("Starting monitoring path %s\n", path);
34 eio_sentry_add(sentry, path); 34 eio_sentry_add(sentry, path);