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:23:09 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:23:09 +0200
commit091fd5f31d337c52bfb88a6a48632dc952b98284 (patch)
tree8f65fd2a60d6caab27f43398f23a2331ae4cfee3 /src/lib/evas/canvas/evas_vg_shape.c
parent125701c66799d33cee82f2f022da4e8047a523dd (diff)
evas: handle setting sub VG object to NULL.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_shape.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_shape.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_vg_shape.c b/src/lib/evas/canvas/evas_vg_shape.c
index 797712a..ac57eae 100644
--- a/src/lib/evas/canvas/evas_vg_shape.c
+++ b/src/lib/evas/canvas/evas_vg_shape.c
@@ -256,10 +256,10 @@ _evas_vg_shape_render_pre(Eo *obj EINA_UNUSED,
256 ector_renderer_origin_set(nd->x, nd->y), 256 ector_renderer_origin_set(nd->x, nd->y),
257 ector_renderer_color_set(nd->r, nd->g, nd->b, nd->a), 257 ector_renderer_color_set(nd->r, nd->g, nd->b, nd->a),
258 ector_renderer_visibility_set(nd->visibility), 258 ector_renderer_visibility_set(nd->visibility),
259 ector_renderer_mask_set(mask->renderer), 259 ector_renderer_mask_set(mask ? mask->renderer : NULL),
260 ector_renderer_shape_fill_set(fill->renderer), 260 ector_renderer_shape_fill_set(fill ? fill->renderer : NULL),
261 ector_renderer_shape_stroke_fill_set(stroke_fill->renderer), 261 ector_renderer_shape_stroke_fill_set(stroke_fill ? stroke_fill->renderer : NULL),
262 ector_renderer_shape_stroke_marker_set(stroke_marker->renderer), 262 ector_renderer_shape_stroke_marker_set(stroke_marker ? stroke_marker->renderer : NULL),
263 efl_graphics_shape_stroke_scale_set(pd->stroke.scale), 263 efl_graphics_shape_stroke_scale_set(pd->stroke.scale),
264 efl_graphics_shape_stroke_color_set(pd->stroke.r, 264 efl_graphics_shape_stroke_color_set(pd->stroke.r,
265 pd->stroke.g, 265 pd->stroke.g,