summaryrefslogtreecommitdiff
path: root/src/lib/eio/eio_model.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-11-21 17:33:10 -0800
committerCedric BAIL <cedric@osg.samsung.com>2018-11-23 11:39:43 -0800
commit5de51f84fb206a728c5df72739ec187b69e7cc57 (patch)
tree14c8ea12a47f71411cbc5d2a5023f77b7a40c85a /src/lib/eio/eio_model.c
parentda01f169d0719a47d420ebe083b18b6b89798891 (diff)
eo: rename efl_future_Eina_FutureXXX_then in efl_future_then as this has been available for some time.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7327
Diffstat (limited to 'src/lib/eio/eio_model.c')
-rw-r--r--src/lib/eio/eio_model.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/eio/eio_model.c b/src/lib/eio/eio_model.c
index b4cb98d..bf25c4c 100644
--- a/src/lib/eio/eio_model.c
+++ b/src/lib/eio/eio_model.c
@@ -456,7 +456,7 @@ _eio_build_mime_now(void *data, const Eina_Value v, const Eina_Future *dead_futu
456 { 456 {
457 Eina_Future *f = eina_future_then(_build_delay(pd->loop), 457 Eina_Future *f = eina_future_then(_build_delay(pd->loop),
458 _eio_build_mime_now, model, NULL); 458 _eio_build_mime_now, model, NULL);
459 return eina_future_as_value(efl_future_Eina_FutureXXX_then(model, f)); 459 return eina_future_as_value(efl_future_then(model, f));
460 } 460 }
461 461
462 pd->mime_type = efreet_mime_type_get(pd->path); 462 pd->mime_type = efreet_mime_type_get(pd->path);
@@ -485,7 +485,7 @@ _eio_build_mime(const Efl_Object *model, Eio_Model_Data *pd)
485 485
486 f = efl_loop_job(pd->loop); 486 f = efl_loop_job(pd->loop);
487 f = eina_future_then(f, _eio_build_mime_now, model, NULL); 487 f = eina_future_then(f, _eio_build_mime_now, model, NULL);
488 pd->request.mime = efl_future_Eina_FutureXXX_then(model, f); 488 pd->request.mime = efl_future_then(model, f);
489} 489}
490 490
491static Eina_Value * 491static Eina_Value *
@@ -703,7 +703,7 @@ _eio_model_efl_model_property_set(Eo *obj,
703 eina_value_string_init(pd->path)); 703 eina_value_string_init(pd->path));
704 } 704 }
705 705
706 return efl_future_Eina_FutureXXX_then(obj, f); 706 return efl_future_then(obj, f);
707 707
708 on_error: 708 on_error:
709 return eina_future_rejected(efl_loop_future_scheduler_get(loop), err); 709 return eina_future_rejected(efl_loop_future_scheduler_get(loop), err);
@@ -802,7 +802,7 @@ _eio_model_efl_model_children_count_get(const Eo *obj, Eio_Model_Data *pd)
802 f = efl_io_manager_direct_ls(iom, pd->path, EINA_FALSE, 802 f = efl_io_manager_direct_ls(iom, pd->path, EINA_FALSE,
803 (void*) obj, _eio_model_children_list, NULL); 803 (void*) obj, _eio_model_children_list, NULL);
804 f = eina_future_then(f, _eio_model_children_list_on, pd, NULL); 804 f = eina_future_then(f, _eio_model_children_list_on, pd, NULL);
805 pd->request.listing = efl_future_Eina_FutureXXX_then(obj, f); 805 pd->request.listing = efl_future_then(obj, f);
806 } 806 }
807 807
808 return eina_list_count(pd->files); 808 return eina_list_count(pd->files);