summaryrefslogtreecommitdiff
path: root/src/tests/eo/children/children_main.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-01 18:06:28 +0000
committerTom Hacohen <tom@stosb.com>2016-03-03 09:58:08 +0000
commitf21ade6123b9053fca8d1632644c48525a99d6e0 (patch)
treec5eb0445f471d21365a7a5a7b0ec7d279c11b398 /src/tests/eo/children/children_main.c
parent3faf3f3fc68a839f06b311c35ba020cb25e7c9c4 (diff)
Automatic migration to Eo4.
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
Diffstat (limited to 'src/tests/eo/children/children_main.c')
-rw-r--r--src/tests/eo/children/children_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/eo/children/children_main.c b/src/tests/eo/children/children_main.c
index 0e0832f..8935228 100644
--- a/src/tests/eo/children/children_main.c
+++ b/src/tests/eo/children/children_main.c
@@ -28,7 +28,7 @@ main(int argc, char *argv[])
28 Eo *child2 = eo_add(SIMPLE_CLASS, parent); 28 Eo *child2 = eo_add(SIMPLE_CLASS, parent);
29 Eo *child3 = eo_add(SIMPLE_CLASS, parent); 29 Eo *child3 = eo_add(SIMPLE_CLASS, parent);
30 30
31 eo_do(parent, iter = eo_children_iterator_new()); 31 iter = eo_children_iterator_new(parent);
32 fail_if(!iter); 32 fail_if(!iter);
33 33
34 CHECK_ITER_DATA(iter, chld, child1); 34 CHECK_ITER_DATA(iter, chld, child1);
@@ -40,7 +40,7 @@ main(int argc, char *argv[])
40 40
41 eo_del(child2); 41 eo_del(child2);
42 42
43 eo_do(parent, iter = eo_children_iterator_new()); 43 iter = eo_children_iterator_new(parent);
44 fail_if(!iter); 44 fail_if(!iter);
45 45
46 CHECK_ITER_DATA(iter, chld, child1); 46 CHECK_ITER_DATA(iter, chld, child1);
@@ -52,7 +52,7 @@ main(int argc, char *argv[])
52 52
53 eo_del(child1); 53 eo_del(child1);
54 54
55 eo_do(parent, iter = eo_children_iterator_new()); 55 iter = eo_children_iterator_new(parent);
56 fail_if(!iter); 56 fail_if(!iter);
57 57
58 CHECK_ITER_DATA(iter, chld, child3); 58 CHECK_ITER_DATA(iter, chld, child3);
@@ -62,7 +62,7 @@ main(int argc, char *argv[])
62 62
63 eo_del(child3); 63 eo_del(child3);
64 64
65 eo_do(parent, iter = eo_children_iterator_new()); 65 iter = eo_children_iterator_new(parent);
66 fail_if(iter); 66 fail_if(iter);
67 67
68 eo_unref(parent); 68 eo_unref(parent);