diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2015-08-19 20:21:41 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-08-19 20:22:57 +0200 |
commit | 0ee28f12e188a9f8a73a3c6e857e6ec0812667ae (patch) | |
tree | 100c6343eb69fb74aa97739c351873fef18f6092 | |
parent | c11f40a3eb1d4a03853986e7ac64a54bd2ac3861 (diff) | |
download | efl-0ee28f12e188a9f8a73a3c6e857e6ec0812667ae.tar.gz |
evas: be more pedantic in case of error in Evas_VG_Node.
-rw-r--r-- | src/lib/evas/canvas/evas_vg_node.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_vg_node.c b/src/lib/evas/canvas/evas_vg_node.c index 775c6886e5..b1c8cbb5f7 100644 --- a/src/lib/evas/canvas/evas_vg_node.c +++ b/src/lib/evas/canvas/evas_vg_node.c @@ -301,7 +301,10 @@ _efl_vg_base_eo_base_parent_set(Eo *obj, } if (!_efl_vg_base_parent_checked_get(obj, &old_parent, &old_cd)) - goto on_error; + { + ERR("Can't check the old parent of %p.", obj); + goto on_error; + } // FIXME: this may become slow with to much object if (old_cd) |