aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-07-29 01:17:53 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-08-21 16:40:32 +0200
commit86b53cbefc3ca5d8d2e7bca4b9dff5438f1ef7b4 (patch)
tree885acfd59e9371ba5af917b6ba0509ff13a3fadc
parentefl: prevent segv while interpolating empty shape. (diff)
downloadefl-86b53cbefc3ca5d8d2e7bca4b9dff5438f1ef7b4.tar.gz
efl: fix Efl.Gfx.Shape.Dup to use const parameter.
-rw-r--r--src/lib/efl/interfaces/efl_gfx_shape.c2
-rw-r--r--src/lib/efl/interfaces/efl_gfx_shape.eo2
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 a01c62d976..b054ca7923 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 01cd2df0a5..d8a926cd69 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 {