summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-09-15 07:34:35 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-09-21 22:50:34 +0200
commite7b2cf56cfe057f478d0fcbeed14939aad4dd991 (patch)
treec595d21a8c8d639eeaca9596a9cf5e2f1d18b8c5 /src/examples
parent291c3e32af106531e4203ea4c2c69af786e0a34d (diff)
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.
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/evas/evas-vg-simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/evas/evas-vg-simple.c b/src/examples/evas/evas-vg-simple.c
index 7332ce703c..5e0b0e4017 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)
458 458
459 Efl_VG *shape = eo_add(EFL_VG_SHAPE_CLASS, root, 459 Efl_VG *shape = eo_add(EFL_VG_SHAPE_CLASS, root,
460 efl_vg_name_set("shape")); 460 efl_vg_name_set("shape"));
461 Efl_VG *rgradient = eo_add(EFL_VG_GRADIENT_RADIAL_CLASS, root, 461 Efl_VG *rgradient = eo_add(EFL_VG_GRADIENT_RADIAL_CLASS, NULL,
462 efl_vg_name_set("rgradient")); 462 efl_vg_name_set("rgradient"));
463 Efl_VG *lgradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, root, 463 Efl_VG *lgradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, NULL,
464 efl_vg_name_set("lgradient")); 464 efl_vg_name_set("lgradient"));
465 465
466 _arcto(shape, 0, 0, 100, 100, 25, 330); 466 _arcto(shape, 0, 0, 100, 100, 25, 330);