aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/render2
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/lib/evas/canvas/render2
parentSome automatic migration and some manual adjustments to calc and text. (diff)
downloadefl-f21ade6123b9053fca8d1632644c48525a99d6e0.tar.gz
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/lib/evas/canvas/render2')
-rw-r--r--src/lib/evas/canvas/render2/evas_render2.c6
-rw-r--r--src/lib/evas/canvas/render2/evas_render2_old.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/evas/canvas/render2/evas_render2.c b/src/lib/evas/canvas/render2/evas_render2.c
index 04549589bb..72a913291a 100644
--- a/src/lib/evas/canvas/render2/evas_render2.c
+++ b/src/lib/evas/canvas/render2/evas_render2.c
@@ -32,10 +32,10 @@ _always_call(Eo *eo_e, Evas_Callback_Type type, void *event_info)
{
int freeze_num = 0, i;
- eo_do(eo_e, freeze_num = eo_event_freeze_count_get());
- for (i = 0; i < freeze_num; i++) eo_do(eo_e, eo_event_thaw());
+ freeze_num = eo_event_freeze_count_get(eo_e);
+ for (i = 0; i < freeze_num; i++) eo_event_thaw(eo_e);
evas_event_callback_call(eo_e, type, event_info);
- for (i = 0; i < freeze_num; i++) eo_do(eo_e, eo_event_freeze());
+ for (i = 0; i < freeze_num; i++) eo_event_freeze(eo_e);
}
// a list of canvases currently rendering
diff --git a/src/lib/evas/canvas/render2/evas_render2_old.c b/src/lib/evas/canvas/render2/evas_render2_old.c
index 4b30543381..490399b19d 100644
--- a/src/lib/evas/canvas/render2/evas_render2_old.c
+++ b/src/lib/evas/canvas/render2/evas_render2_old.c
@@ -119,10 +119,10 @@ _evas_render2_always_call(Eo *eo_e, Evas_Callback_Type type, void *event_info)
{
int freeze_num = 0, i;
- eo_do(eo_e, freeze_num = eo_event_freeze_count_get());
- for (i = 0; i < freeze_num; i++) eo_do(eo_e, eo_event_thaw());
+ freeze_num = eo_event_freeze_count_get(eo_e);
+ for (i = 0; i < freeze_num; i++) eo_event_thaw(eo_e);
evas_event_callback_call(eo_e, type, event_info);
- for (i = 0; i < freeze_num; i++) eo_do(eo_e, eo_event_freeze());
+ for (i = 0; i < freeze_num; i++) eo_event_freeze(eo_e);
}
static void