efl_canvas_vg_container: remove unnecessary parent set. 16/208616/2
authorHermet Park <hermetpark@gmail.com>
Wed, 26 Jun 2019 11:48:19 +0000 (20:48 +0900)
committerHermet Park <chuneon.park@samsung.com>
Wed, 26 Jun 2019 12:18:37 +0000 (12:18 +0000)
the duplicated object must be set its parent by caller,
it shouldn't set it by itself internally.

Change-Id: I62feff07e16c7db0d35463b42d36d0f5f7af6604

src/lib/evas/canvas/efl_canvas_vg_container.c

index 4d11e0b..2daa65f 100644 (file)
@@ -399,7 +399,6 @@ _efl_canvas_vg_container_efl_duplicate_duplicate(const Eo *obj,
 
    container = efl_duplicate(efl_super(obj, MY_CLASS));
    efl_event_callback_add(container, EFL_EVENT_INVALIDATE, _invalidate_cb, NULL);
-   efl_parent_set(container, efl_parent_get(obj));
 
    //Copy Mask
    if (pd->mask_src)