cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=86b53cbefc3ca5d8d2e7bca4b9dff5438f1ef7b4

commit 86b53cbefc3ca5d8d2e7bca4b9dff5438f1ef7b4
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Wed Jul 29 01:17:53 2015 +0200

    efl: fix Efl.Gfx.Shape.Dup to use const parameter.
---
 src/lib/efl/interfaces/efl_gfx_shape.c  | 2 +-
 src/lib/efl/interfaces/efl_gfx_shape.eo | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_gfx_shape.c 
b/src/lib/efl/interfaces/efl_gfx_shape.c
index a01c62d..b054ca7 100644
--- a/src/lib/efl/interfaces/efl_gfx_shape.c
+++ b/src/lib/efl/interfaces/efl_gfx_shape.c
@@ -424,7 +424,7 @@ _efl_gfx_shape_equal_commands(Eo *obj EINA_UNUSED,
 }
 
 static void
-_efl_gfx_shape_dup(Eo *obj, Efl_Gfx_Shape_Data *pd, Eo *dup_from)
+_efl_gfx_shape_dup(Eo *obj, Efl_Gfx_Shape_Data *pd, const Eo *dup_from)
 {
    const Efl_Gfx_Dash *dash = NULL;
    Efl_Gfx_Shape_Data *from;
diff --git a/src/lib/efl/interfaces/efl_gfx_shape.eo 
b/src/lib/efl/interfaces/efl_gfx_shape.eo
index 01cd2df..d8a926c 100644
--- a/src/lib/efl/interfaces/efl_gfx_shape.eo
+++ b/src/lib/efl/interfaces/efl_gfx_shape.eo
@@ -176,7 +176,7 @@ mixin Efl.Gfx.Shape
             @since 1.14
           ]]
         params {
-          @in dup_from: Eo.Base *; [[Shape object from where data will be 
copied.]]
+          @in dup_from: const(Eo.Base)*; [[Shape object from where data will 
be copied.]]
         }
       }
       bounds_get {

-- 


Reply via email to