summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-07-04 02:28:33 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-08-21 16:40:31 +0200
commit126edbb48c4f065fe68cb4d60760102498d93ad2 (patch)
tree318c3bf610d5b313823ad457d367fc1a91b687ef
parent7cb92ff35d3e49c53368b6fe4ade1d2a732018fc (diff)
evas: allow parent during dup to be an Evas_Object_VG.
-rw-r--r--src/lib/evas/canvas/evas_vg_node.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_vg_node.c b/src/lib/evas/canvas/evas_vg_node.c
index 0f73808903..901e550418 100644
--- a/src/lib/evas/canvas/evas_vg_node.c
+++ b/src/lib/evas/canvas/evas_vg_node.c
@@ -238,9 +238,13 @@ _efl_vg_base_parent_checked_get(Eo *obj,
238 goto on_error; 238 goto on_error;
239 } 239 }
240 } 240 }
241 else if (eo_isa(*parent, EVAS_VG_CLASS))
242 {
243 goto on_error;
244 }
241 else if (*parent != NULL) 245 else if (*parent != NULL)
242 { 246 {
243 ERR("Parent of unauthorized class."); 247 ERR("Parent of unauthorized class '%s'.", eo_class_name_get(eo_class_get(*parent)));
244 goto on_error; 248 goto on_error;
245 } 249 }
246 250