efl: fix Efl.Gfx.Shape.Dup to use const parameter.
authorCedric BAIL <cedric@osg.samsung.com>
Tue, 28 Jul 2015 23:17:53 +0000 (01:17 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 21 Aug 2015 14:40:32 +0000 (16:40 +0200)
src/lib/efl/interfaces/efl_gfx_shape.c
src/lib/efl/interfaces/efl_gfx_shape.eo

index a01c62d..b054ca7 100644 (file)
@@ -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;
index 01cd2df..d8a926c 100644 (file)
@@ -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 {