aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2014-03-03 10:19:48 +0100
committerStefan Schmidt <stefan@datenfreihafen.org>2014-03-03 10:19:48 +0100
commit1b251dc707219edadf51e467fabac99fb5cae1a0 (patch)
tree484a14eb8fda6a4ec3fb1b8fce1819491e0d69a3
parentevas: replace EINA_LIST_FREE to EINA_LIST_FOREACH_SAFE. (diff)
downloadefl-1b251dc707219edadf51e467fabac99fb5cae1a0.tar.gz
Revert "evas: replace EINA_LIST_FREE to EINA_LIST_FOREACH_SAFE."
This reverts commit eb022cba1d1df351d5f5043879eade5cee9d918c. This does not even compile. Blindly backported without any testing.
-rw-r--r--src/lib/evas/canvas/evas_object_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_main.c b/src/lib/evas/canvas/evas_object_main.c
index eed4429b69..0480098e79 100644
--- a/src/lib/evas/canvas/evas_object_main.c
+++ b/src/lib/evas/canvas/evas_object_main.c
@@ -653,7 +653,7 @@ _destructor(Eo *eo_obj, void *_pd, va_list *list EINA_UNUSED)
goto end;
}
evas_object_grabs_cleanup(eo_obj, obj);
- EINA_LIST_FOREACH_SAFE(obj->clip.clipees, l, l2, tmp)
+ EINA_LIST_FREE(obj->clip.clipees, tmp)
evas_object_clip_unset(tmp->object);
while (obj->proxy->proxies)
evas_object_image_source_unset(obj->proxy->proxies->data);