summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_container.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_vg_container.c b/src/lib/evas/canvas/efl_canvas_vg_container.c
index 37b59405c3..61bd74e7c3 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_container.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_container.c
@@ -493,7 +493,11 @@ evas_vg_container_add(Evas_Object *parent)
493{ 493{
494 /* Warn it because the usage has been changed. 494 /* Warn it because the usage has been changed.
495 We can remove this message after v1.21. */ 495 We can remove this message after v1.21. */
496 if (!parent) CRI("Efl_VG Container doesn't allow null parent!"); 496 if (!parent)
497 {
498 ERR("Efl_VG Container doesn't allow null parent!");
499 return NULL;
500 }
497 return efl_add(MY_CLASS, parent); 501 return efl_add(MY_CLASS, parent);
498} 502}
499 503