From: Cedric BAIL Date: Tue, 28 Jul 2015 23:17:53 +0000 (+0200) Subject: efl: fix Efl.Gfx.Shape.Dup to use const parameter. X-Git-Tag: v1.16.0-alpha1~278 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86b53cbefc3ca5d8d2e7bca4b9dff5438f1ef7b4;p=platform%2Fupstream%2Fefl.git efl: fix Efl.Gfx.Shape.Dup to use const parameter. --- 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 {