summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_vg_shape.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_vg_shape.c')
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_shape.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_vg_shape.c b/src/lib/evas/canvas/efl_canvas_vg_shape.c
index fb886d55df..9186c18220 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_shape.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_shape.c
@@ -474,7 +474,12 @@ evas_vg_shape_add(Efl_Canvas_Vg_Node *parent)
474{ 474{
475 /* Warn it because the usage has been changed. 475 /* Warn it because the usage has been changed.
476 We can remove this message after v1.21. */ 476 We can remove this message after v1.21. */
477 if (!parent) CRI("Efl_Canvas_Vg_Shape only allow Efl_Canvas_Vg_Node as the parent"); 477 if (!parent)
478 {
479 ERR("Efl_Canvas_Vg_Shape only allow Efl_Canvas_Vg_Node as the parent");
480 return NULL;
481 }
482
478 return efl_add(MY_CLASS, parent); 483 return efl_add(MY_CLASS, parent);
479} 484}
480 485