summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_shape.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:13:13 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:13:13 +0200
commitae5472379f099d4c6fc64fbf60ffa2f2ec98e9eb (patch)
tree3c28d976fb24530a10e4d4925787ec4cd50c1d8b /src/lib/evas/canvas/evas_vg_shape.c
parent1e5c596ca3ddb03e16aae5f2b1418a59cc9db699 (diff)
evas: handle path set on shape object.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_shape.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_shape.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_vg_shape.c b/src/lib/evas/canvas/evas_vg_shape.c
index 878cc7e..4262fa5 100644
--- a/src/lib/evas/canvas/evas_vg_shape.c
+++ b/src/lib/evas/canvas/evas_vg_shape.c
@@ -13,8 +13,15 @@ struct _Evas_VG_Shape_Data
13}; 13};
14 14
15Eina_Bool 15Eina_Bool
16_evas_vg_shape_path_set(Eo *obj, Evas_VG_Shape_Data *pd, Evas_VG_Path_Command *op, double *points) 16_evas_vg_shape_path_set(Eo *obj, Evas_VG_Shape_Data *pd,
17 Evas_VG_Path_Command *op, double *points)
17{ 18{
19 free(pd->points);
20 pd->points = NULL;
21 free(pd->op);
22 pd->op = NULL;
23
24 return evas_vg_path_dup(&pd->op, &pd->points, op, points);
18} 25}
19 26
20Eina_Bool 27Eina_Bool