summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_buffer.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/lib/ector/software/ector_software_buffer.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/lib/ector/software/ector_software_buffer.c')
-rw-r--r--src/lib/ector/software/ector_software_buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ector/software/ector_software_buffer.c b/src/lib/ector/software/ector_software_buffer.c
index b846761de1..ecbac54373 100644
--- a/src/lib/ector/software/ector_software_buffer.c
+++ b/src/lib/ector/software/ector_software_buffer.c
@@ -69,7 +69,7 @@ _ector_software_buffer_base_pixels_clear(Eo *obj, Ector_Software_Buffer_Base_Dat
69 return; 69 return;
70 } 70 }
71 71
72 eo_do(obj, eo_event_callback_call(ECTOR_GENERIC_BUFFER_EVENT_DETACHED, pd->pixels.u8)); 72 eo_event_callback_call(obj, ECTOR_GENERIC_BUFFER_EVENT_DETACHED, pd->pixels.u8);
73 if (!pd->nofree) 73 if (!pd->nofree)
74 { 74 {
75 free(pd->pixels.u8); 75 free(pd->pixels.u8);
@@ -336,7 +336,7 @@ EOLIAN static Eo_Base *
336_ector_software_buffer_eo_base_constructor(Eo *obj, void *data EINA_UNUSED) 336_ector_software_buffer_eo_base_constructor(Eo *obj, void *data EINA_UNUSED)
337{ 337{
338 Ector_Software_Buffer_Base_Data *pd; 338 Ector_Software_Buffer_Base_Data *pd;
339 eo_do_super(obj, MY_CLASS, obj = eo_constructor()); 339 obj = eo_constructor(eo_super(obj, MY_CLASS));
340 pd = eo_data_scope_get(obj, ECTOR_SOFTWARE_BUFFER_BASE_MIXIN); 340 pd = eo_data_scope_get(obj, ECTOR_SOFTWARE_BUFFER_BASE_MIXIN);
341 pd->generic = eo_data_ref(obj, ECTOR_GENERIC_BUFFER_MIXIN); 341 pd->generic = eo_data_ref(obj, ECTOR_GENERIC_BUFFER_MIXIN);
342 pd->generic->eo = obj; 342 pd->generic->eo = obj;
@@ -349,7 +349,7 @@ _ector_software_buffer_eo_base_destructor(Eo *obj, void *data EINA_UNUSED)
349 Ector_Software_Buffer_Base_Data *pd = eo_data_scope_get(obj, ECTOR_SOFTWARE_BUFFER_BASE_MIXIN); 349 Ector_Software_Buffer_Base_Data *pd = eo_data_scope_get(obj, ECTOR_SOFTWARE_BUFFER_BASE_MIXIN);
350 _ector_software_buffer_base_pixels_clear(obj, pd); 350 _ector_software_buffer_base_pixels_clear(obj, pd);
351 eo_data_unref(obj, pd->generic); 351 eo_data_unref(obj, pd->generic);
352 eo_do_super(obj, MY_CLASS, eo_destructor()); 352 eo_destructor(eo_super(obj, MY_CLASS));
353 if (pd->internal.maps) 353 if (pd->internal.maps)
354 { 354 {
355 ERR("Pixel data is still mapped during destroy! Check your code!"); 355 ERR("Pixel data is still mapped during destroy! Check your code!");