summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_surface.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-08-10 15:23:04 +0100
committerTom Hacohen <tom@stosb.com>2016-08-11 17:04:43 +0100
commitc662934be8bcbaba60d1688e77533acbea5d09b9 (patch)
tree8e12b5ffd083024f09b7ec7fa9f979113056fb9d /src/lib/ector/software/ector_software_surface.c
parente64e120a51972c44fb8cae88a78bb4aa34f502c7 (diff)
Change the EFL to follow the new Eo rename.
Diffstat (limited to 'src/lib/ector/software/ector_software_surface.c')
-rw-r--r--src/lib/ector/software/ector_software_surface.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/ector/software/ector_software_surface.c b/src/lib/ector/software/ector_software_surface.c
index ab5fe90b7a..115170b865 100644
--- a/src/lib/ector/software/ector_software_surface.c
+++ b/src/lib/ector/software/ector_software_surface.c
@@ -13,7 +13,7 @@
13static Ector_Renderer * 13static Ector_Renderer *
14_ector_software_surface_ector_surface_renderer_factory_new(Eo *obj, 14_ector_software_surface_ector_surface_renderer_factory_new(Eo *obj,
15 Ector_Software_Surface_Data *pd EINA_UNUSED, 15 Ector_Software_Surface_Data *pd EINA_UNUSED,
16 const Eo_Class *type) 16 const Efl_Class *type)
17{ 17{
18 if (type == ECTOR_RENDERER_SHAPE_MIXIN) 18 if (type == ECTOR_RENDERER_SHAPE_MIXIN)
19 return eo_add(ECTOR_RENDERER_SOFTWARE_SHAPE_CLASS, NULL, ector_renderer_surface_set(eo_self, obj)); 19 return eo_add(ECTOR_RENDERER_SOFTWARE_SHAPE_CLASS, NULL, ector_renderer_surface_set(eo_self, obj));
@@ -28,9 +28,9 @@ _ector_software_surface_ector_surface_renderer_factory_new(Eo *obj,
28} 28}
29 29
30static Eo * 30static Eo *
31_ector_software_surface_eo_base_constructor(Eo *obj, Ector_Software_Surface_Data *pd) 31_ector_software_surface_efl_object_constructor(Eo *obj, Ector_Software_Surface_Data *pd)
32{ 32{
33 obj = eo_constructor(eo_super(obj, MY_CLASS)); 33 obj = efl_constructor(eo_super(obj, MY_CLASS));
34 pd->rasterizer = (Software_Rasterizer *) calloc(1, sizeof(Software_Rasterizer)); 34 pd->rasterizer = (Software_Rasterizer *) calloc(1, sizeof(Software_Rasterizer));
35 ector_software_rasterizer_init(pd->rasterizer); 35 ector_software_rasterizer_init(pd->rasterizer);
36 pd->rasterizer->fill_data.raster_buffer = eo_data_ref(obj, ECTOR_SOFTWARE_BUFFER_BASE_MIXIN); 36 pd->rasterizer->fill_data.raster_buffer = eo_data_ref(obj, ECTOR_SOFTWARE_BUFFER_BASE_MIXIN);
@@ -38,13 +38,13 @@ _ector_software_surface_eo_base_constructor(Eo *obj, Ector_Software_Surface_Data
38} 38}
39 39
40static void 40static void
41_ector_software_surface_eo_base_destructor(Eo *obj, Ector_Software_Surface_Data *pd) 41_ector_software_surface_efl_object_destructor(Eo *obj, Ector_Software_Surface_Data *pd)
42{ 42{
43 ector_software_rasterizer_done(pd->rasterizer); 43 ector_software_rasterizer_done(pd->rasterizer);
44 eo_data_unref(obj, pd->rasterizer->fill_data.raster_buffer); 44 eo_data_unref(obj, pd->rasterizer->fill_data.raster_buffer);
45 free(pd->rasterizer); 45 free(pd->rasterizer);
46 pd->rasterizer = NULL; 46 pd->rasterizer = NULL;
47 eo_destructor(eo_super(obj, ECTOR_SOFTWARE_SURFACE_CLASS)); 47 efl_destructor(eo_super(obj, ECTOR_SOFTWARE_SURFACE_CLASS));
48} 48}
49 49
50static void 50static void