cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e7b2cf56cfe057f478d0fcbeed14939aad4dd991

commit e7b2cf56cfe057f478d0fcbeed14939aad4dd991
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Tue Sep 15 07:34:35 2015 +0200

    evas: node that are used for a fill should not have a parent or they are 
going to be drawn.
    
    @fix example for Efl VG.
---
 src/examples/evas/evas-vg-simple.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/examples/evas/evas-vg-simple.c 
b/src/examples/evas/evas-vg-simple.c
index 7332ce7..5e0b0e4 100644
--- a/src/examples/evas/evas-vg-simple.c
+++ b/src/examples/evas/evas-vg-simple.c
@@ -458,9 +458,9 @@ vector_set(int x, int y, int w, int h)
 
    Efl_VG *shape = eo_add(EFL_VG_SHAPE_CLASS, root,
                           efl_vg_name_set("shape"));
-   Efl_VG *rgradient = eo_add(EFL_VG_GRADIENT_RADIAL_CLASS, root,
+   Efl_VG *rgradient = eo_add(EFL_VG_GRADIENT_RADIAL_CLASS, NULL,
                               efl_vg_name_set("rgradient"));
-   Efl_VG *lgradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, root,
+   Efl_VG *lgradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, NULL,
                               efl_vg_name_set("lgradient"));
 
    _arcto(shape, 0, 0, 100, 100, 25, 330);

-- 


Reply via email to