summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_container.c
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-06-19 08:35:46 +0900
committerHermet Park <hermetpark@gmail.com>2018-06-19 08:36:00 +0900
commit803025f9195dbaade1d8dd695d69a4366089cc17 (patch)
tree0a54229a2b5a751172ba22556b10351ecace57d8 /src/lib/evas/canvas/evas_vg_container.c
parent6b1ab3cd9c7e19908690e9e913df7504cc8ae7c8 (diff)
evas vg: add warning msgs for users.
Since usage has been changed under the beta version, Some users may keep the old-usage that breaks the vg behavior now. For their information, vg prints messages in case of breaks.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_container.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_container.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_vg_container.c b/src/lib/evas/canvas/evas_vg_container.c
index 35b8fd3..367a3c9 100644
--- a/src/lib/evas/canvas/evas_vg_container.c
+++ b/src/lib/evas/canvas/evas_vg_container.c
@@ -189,6 +189,9 @@ _efl_canvas_vg_container_efl_duplicate_duplicate(const Eo *obj,
189EAPI Efl_VG* 189EAPI Efl_VG*
190evas_vg_container_add(Efl_VG *parent) 190evas_vg_container_add(Efl_VG *parent)
191{ 191{
192 /* Warn it because the usage has been changed.
193 We can remove this message after v1.21. */
194 if (!parent) CRI("Efl_VG Container doesn't allow null parent!");
192 return efl_add(MY_CLASS, parent); 195 return efl_add(MY_CLASS, parent);
193} 196}
194 197