summaryrefslogtreecommitdiff
path: root/src/lib/ector
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-04-18 10:55:14 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-04-18 11:07:46 +0900
commite79f27ae0cd9800f6e97d28a9b6d9f08a34b19ad (patch)
treec69bf960aa78a9f59e05d1c08743c51a578b198b /src/lib/ector
parente85c92662bfec6a88bb7d2d091682daa429acba0 (diff)
efl: Remove manual definitions of event "changed"
Honestly I can't see why gfx & gfx.path "changed" need a manual definition, instead of relying on EO. If the API needs to be internal only, then EO needs to handle internal APIs. In this case, the event was exposed as a C API but not a EO... why?
Diffstat (limited to 'src/lib/ector')
-rw-r--r--src/lib/ector/cairo/ector_renderer_cairo_shape.c2
-rw-r--r--src/lib/ector/gl/ector_renderer_gl_shape.c2
-rw-r--r--src/lib/ector/software/ector_renderer_software_shape.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ector/cairo/ector_renderer_cairo_shape.c b/src/lib/ector/cairo/ector_renderer_cairo_shape.c
index 74b705cc6b..e0c924942c 100644
--- a/src/lib/ector/cairo/ector_renderer_cairo_shape.c
+++ b/src/lib/ector/cairo/ector_renderer_cairo_shape.c
@@ -256,7 +256,7 @@ _ector_renderer_cairo_shape_efl_object_constructor(Eo *obj, Ector_Renderer_Cairo
256 pd->shape = efl_data_xref(obj, ECTOR_RENDERER_SHAPE_MIXIN, obj); 256 pd->shape = efl_data_xref(obj, ECTOR_RENDERER_SHAPE_MIXIN, obj);
257 pd->base = efl_data_xref(obj, ECTOR_RENDERER_CLASS, obj); 257 pd->base = efl_data_xref(obj, ECTOR_RENDERER_CLASS, obj);
258 258
259 efl_event_callback_add(obj, EFL_GFX_PATH_CHANGED, _ector_renderer_cairo_shape_path_changed, pd); 259 efl_event_callback_add(obj, EFL_GFX_PATH_EVENT_CHANGED, _ector_renderer_cairo_shape_path_changed, pd);
260 260
261 return obj; 261 return obj;
262} 262}
diff --git a/src/lib/ector/gl/ector_renderer_gl_shape.c b/src/lib/ector/gl/ector_renderer_gl_shape.c
index 1209c9ecd2..e87886075a 100644
--- a/src/lib/ector/gl/ector_renderer_gl_shape.c
+++ b/src/lib/ector/gl/ector_renderer_gl_shape.c
@@ -149,7 +149,7 @@ _ector_renderer_gl_shape_efl_object_constructor(Eo *obj, Ector_Renderer_GL_Shape
149 pd->shape = efl_data_xref(obj, ECTOR_RENDERER_SHAPE_MIXIN, obj); 149 pd->shape = efl_data_xref(obj, ECTOR_RENDERER_SHAPE_MIXIN, obj);
150 pd->base = efl_data_xref(obj, ECTOR_RENDERER_CLASS, obj); 150 pd->base = efl_data_xref(obj, ECTOR_RENDERER_CLASS, obj);
151 151
152 efl_event_callback_add(obj, EFL_GFX_PATH_CHANGED, _ector_renderer_gl_shape_path_changed, pd); 152 efl_event_callback_add(obj, EFL_GFX_PATH_EVENT_CHANGED, _ector_renderer_gl_shape_path_changed, pd);
153 153
154 return obj; 154 return obj;
155} 155}
diff --git a/src/lib/ector/software/ector_renderer_software_shape.c b/src/lib/ector/software/ector_renderer_software_shape.c
index 75c8933957..31b230a37d 100644
--- a/src/lib/ector/software/ector_renderer_software_shape.c
+++ b/src/lib/ector/software/ector_renderer_software_shape.c
@@ -701,7 +701,7 @@ _ector_renderer_software_shape_efl_object_constructor(Eo *obj, Ector_Renderer_So
701 pd->public_shape = efl_data_xref(obj, EFL_GFX_SHAPE_MIXIN, obj); 701 pd->public_shape = efl_data_xref(obj, EFL_GFX_SHAPE_MIXIN, obj);
702 pd->shape = efl_data_xref(obj, ECTOR_RENDERER_SHAPE_MIXIN, obj); 702 pd->shape = efl_data_xref(obj, ECTOR_RENDERER_SHAPE_MIXIN, obj);
703 pd->base = efl_data_xref(obj, ECTOR_RENDERER_CLASS, obj); 703 pd->base = efl_data_xref(obj, ECTOR_RENDERER_CLASS, obj);
704 efl_event_callback_add(obj, EFL_GFX_PATH_CHANGED, _ector_renderer_software_shape_path_changed, pd); 704 efl_event_callback_add(obj, EFL_GFX_PATH_EVENT_CHANGED, _ector_renderer_software_shape_path_changed, pd);
705 705
706 return obj; 706 return obj;
707} 707}