summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_container.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:13:03 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:13:03 +0200
commit95e70ee5cbd5c62c703fd5e9cd220f4dfc87ddb0 (patch)
tree94b588c9f6277a7a975dfc04b27aa0541aded5af /src/lib/evas/canvas/evas_vg_container.c
parent7b759ceeca12f5e1c56bbdbbf1bd454f46bb4369 (diff)
evas: remove unecessary duplicated code.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_container.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_container.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/evas/canvas/evas_vg_container.c b/src/lib/evas/canvas/evas_vg_container.c
index fc008bb..4bedd86 100644
--- a/src/lib/evas/canvas/evas_vg_container.c
+++ b/src/lib/evas/canvas/evas_vg_container.c
@@ -11,14 +11,6 @@ _evas_vg_container_eo_base_constructor(Eo *obj, Evas_VG_Container_Data *pd)
11 Eo *parent; 11 Eo *parent;
12 12
13 eo_do_super(obj, MY_CLASS, eo_constructor()); 13 eo_do_super(obj, MY_CLASS, eo_constructor());
14
15 eo_do(obj, parent = eo_parent_get());
16 if (!eo_isa(obj, EVAS_VG_CONTAINER_CLASS) &&
17 !eo_isa(obj, EVAS_VG_CLASS))
18 {
19 ERR("Parent must be either an Evas_Object_VG or an Evas_VG_Container.");
20 eo_error_set(obj);
21 }
22} 14}
23 15
24Eina_Bool 16Eina_Bool