aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/canvas/evas_layer.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2008-10-21 12:19:57 +0000
committerCedric BAIL <cedric.bail@free.fr>2008-10-21 12:19:57 +0000
commit68d377afe6e053f146b04a756ff41f4790771890 (patch)
tree377a5ce21894d7767397704f41e1f2381e8ecb3a /legacy/evas/src/lib/canvas/evas_layer.c
parentAdd Debian files. (diff)
downloadefl-68d377afe6e053f146b04a756ff41f4790771890.tar.gz
Rename EINA_INLIST_ITER_NEXT/EINA_INLIST_ITER_LAST to EINA_INLIST_FOREACH/
EINA_INLIST_REVERSE_FOREACH so it best match is behaviour. Asked by Gustavo. SVN revision: 36928
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_layer.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_layer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_layer.c b/legacy/evas/src/lib/canvas/evas_layer.c
index ad1e6d1d12..993abdadfa 100644
--- a/legacy/evas/src/lib/canvas/evas_layer.c
+++ b/legacy/evas/src/lib/canvas/evas_layer.c
@@ -54,7 +54,7 @@ evas_layer_pre_free(Evas_Layer *lay)
{
Evas_Object *obj;
- EINA_INLIST_ITER_NEXT(lay->objects, obj)
+ EINA_INLIST_FOREACH(lay->objects, obj)
{
if ((!obj->smart.parent) && (!obj->delete_me))
evas_object_del(obj);
@@ -79,7 +79,7 @@ evas_layer_find(Evas *e, short layer_num)
{
Evas_Layer *layer;
- EINA_INLIST_ITER_NEXT(e->layers, layer)
+ EINA_INLIST_FOREACH(e->layers, layer)
{
if (layer->layer == layer_num) return layer;
}
@@ -91,7 +91,7 @@ evas_layer_add(Evas_Layer *lay)
{
Evas_Layer *layer;
- EINA_INLIST_ITER_NEXT(lay->evas->layers, layer)
+ EINA_INLIST_FOREACH(lay->evas->layers, layer)
{
if (layer->layer > lay->layer)
{