projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8728b6a
)
Eio: fix eio_model children_slice_get all
author
Larry Lira
<larry@expertisesolutions.com.br>
Thu, 7 Jun 2018 21:41:48 +0000
(18:41 -0300)
committer
Jongmin Lee
<jm105.lee@samsung.com>
Tue, 12 Jun 2018 05:47:09 +0000
(14:47 +0900)
src/lib/eio/eio_model.c
patch
|
blob
|
history
diff --git
a/src/lib/eio/eio_model.c
b/src/lib/eio/eio_model.c
index
b60d19b
..
9baec99
100644
(file)
--- a/
src/lib/eio/eio_model.c
+++ b/
src/lib/eio/eio_model.c
@@
-897,6
+897,12
@@
_eio_model_efl_model_children_slice_get(Eo *obj, Eio_Model_Data *pd,
scheduler = efl_loop_future_scheduler_get(obj);
if (!scheduler) return NULL;
+ if (count == 0)
+ {
+ count = eina_list_count(pd->files);
+ start = 0;
+ }
+
// Children must have been listed first
if (count == 0 || (start + count > eina_list_count(pd->files)))
return eina_future_rejected(scheduler, EFL_MODEL_ERROR_INCORRECT_VALUE);