summaryrefslogtreecommitdiff
path: root/src/lib/ector
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-08-04 19:37:56 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-08-05 10:32:30 +0900
commit28c917836c10e305d1509243b9aa7c59abcaabdb (patch)
treeece65bc9fa6a5903feefb4c6164ad1df57ecfdc5 /src/lib/ector
parent26ee77ff674d42f105172540481d67217e509e5f (diff)
efl: Cleanup some code (return values)
This removes some useless code in various places, where the switch from eo_do() to standard function call was not properly refactored. This changes: type ret = 0; ret = my_eo_function(); return ret; To: return my_eo_function();
Diffstat (limited to 'src/lib/ector')
-rw-r--r--src/lib/ector/ector_renderer_buffer.c10
-rw-r--r--src/lib/ector/ector_renderer_buffer.eo1
2 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/ector/ector_renderer_buffer.c b/src/lib/ector/ector_renderer_buffer.c
index 4ba7287ee4..4bb93a24c1 100644
--- a/src/lib/ector/ector_renderer_buffer.c
+++ b/src/lib/ector/ector_renderer_buffer.c
@@ -42,14 +42,4 @@ _ector_renderer_buffer_buffer_get(Eo *obj EINA_UNUSED, Ector_Renderer_Buffer_Dat
42 return pd->eo_buffer; 42 return pd->eo_buffer;
43} 43}
44 44
45EOLIAN static Eo_Base *
46_ector_renderer_buffer_eo_base_constructor(Eo *obj, Ector_Renderer_Buffer_Data *pd EINA_UNUSED)
47{
48 Eo_Base *ret;
49
50 ret = eo_constructor(eo_super(obj, MY_CLASS));
51
52 return ret;
53}
54
55#include "ector_renderer_buffer.eo.c" 45#include "ector_renderer_buffer.eo.c"
diff --git a/src/lib/ector/ector_renderer_buffer.eo b/src/lib/ector/ector_renderer_buffer.eo
index fd21bd7c70..477d5ee7cd 100644
--- a/src/lib/ector/ector_renderer_buffer.eo
+++ b/src/lib/ector/ector_renderer_buffer.eo
@@ -12,7 +12,6 @@ mixin Ector.Renderer.Buffer (Eo.Interface, Ector.Renderer, Efl.Gfx.Fill)
12 } 12 }
13 } 13 }
14 implements { 14 implements {
15 Eo.Base.constructor;
16 Efl.Gfx.Fill.fill.get; 15 Efl.Gfx.Fill.fill.get;
17 Efl.Gfx.Fill.fill.set; 16 Efl.Gfx.Fill.fill.set;
18 } 17 }