summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-08-19 20:21:41 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-08-19 20:22:57 +0200
commit0ee28f12e188a9f8a73a3c6e857e6ec0812667ae (patch)
tree100c6343eb69fb74aa97739c351873fef18f6092
parentc11f40a3eb1d4a03853986e7ac64a54bd2ac3861 (diff)
evas: be more pedantic in case of error in Evas_VG_Node.
-rw-r--r--src/lib/evas/canvas/evas_vg_node.c5
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,
301 } 301 }
302 302
303 if (!_efl_vg_base_parent_checked_get(obj, &old_parent, &old_cd)) 303 if (!_efl_vg_base_parent_checked_get(obj, &old_parent, &old_cd))
304 goto on_error; 304 {
305 ERR("Can't check the old parent of %p.", obj);
306 goto on_error;
307 }
305 308
306 // FIXME: this may become slow with to much object 309 // FIXME: this may become slow with to much object
307 if (old_cd) 310 if (old_cd)