diff --git a/unsorted/eio/efl_io_manager_ls.c b/unsorted/eio/efl_io_manager_ls.c index 65d55110..fd790328 100644 --- a/unsorted/eio/efl_io_manager_ls.c +++ b/unsorted/eio/efl_io_manager_ls.c @@ -39,12 +39,13 @@ done_cb(void *data EINA_UNUSED, // Progress used to be the "Eio_Main_Cb" family of callbacks in the legacy API. static void -progress_cb(void *data EINA_UNUSED, Eina_Accessor *access) +progress_cb(void *data EINA_UNUSED, Eina_Array *array) { + Eina_Array_Iterator it; const char *filename; unsigned int count; - EINA_ACCESSOR_FOREACH(access, count, filename) + EINA_ARRAY_ITER_NEXT(array, count, filename, it) printf("%s listing filename: %s\n", __FUNCTION__, filename); } diff --git a/unsorted/eio/efl_io_manager_open_multi.c b/unsorted/eio/efl_io_manager_open_multi.c index 69bc4ba4..bcee8ca1 100644 --- a/unsorted/eio/efl_io_manager_open_multi.c +++ b/unsorted/eio/efl_io_manager_open_multi.c @@ -9,19 +9,7 @@ #include #include -void error_cb(void *data, const Efl_Event *ev) -{ - Efl_Future_Event_Failure *failure = ev->info; - const char *msg = eina_error_msg_get(failure->error); - Efl_Io_Manager *job = data; - (void) job; - - EINA_LOG_ERR("error: %s", msg); - - ecore_main_loop_quit(); -} - -static Eina_Value +Eina_Value _close_cb(void *data EINA_UNUSED, const Eina_Value array, const Eina_Future *dead EINA_UNUSED) { printf("%s closed all files.\n", __FUNCTION__);