summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_buffer.c
diff options
context:
space:
mode:
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 b846761..ecbac54 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!");