evas: node that are used for a fill should not have a parent or they are going to...
authorCedric BAIL <cedric@osg.samsung.com>
Tue, 15 Sep 2015 05:34:35 +0000 (07:34 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 21 Sep 2015 20:50:34 +0000 (22:50 +0200)
@fix example for Efl VG.

src/examples/evas/evas-vg-simple.c

index 7332ce7..5e0b0e4 100644 (file)
@@ -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);