summaryrefslogtreecommitdiff
path: root/src/bin/vg_basic_gradient.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-09-15 07:45:13 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-09-15 07:45:13 +0200
commit9cf0688f994c8bae395a79be39b1551278861794 (patch)
treef1134b79d9624adf3afd2c337536b4e74d9a0923 /src/bin/vg_basic_gradient.c
parent6c1e40666d3dbbfe73a7b5d3c60323d995994243 (diff)
vg: fix inapropriate parenting of gradient.
Diffstat (limited to 'src/bin/vg_basic_gradient.c')
-rw-r--r--src/bin/vg_basic_gradient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/vg_basic_gradient.c b/src/bin/vg_basic_gradient.c
index 66ef482..faa9e26 100644
--- a/src/bin/vg_basic_gradient.c
+++ b/src/bin/vg_basic_gradient.c
@@ -45,7 +45,7 @@ static void _setup(void)
45 45
46 eo_do(vector, root = evas_obj_vg_root_node_get()); 46 eo_do(vector, root = evas_obj_vg_root_node_get());
47 47
48 gradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, root); 48 gradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, NULL);
49 eo_do(gradient, 49 eo_do(gradient,
50 efl_gfx_gradient_stop_set(stops, 3), 50 efl_gfx_gradient_stop_set(stops, 3),
51 efl_gfx_gradient_spread_set(EFL_GFX_GRADIENT_SPREAD_REFLECT), 51 efl_gfx_gradient_spread_set(EFL_GFX_GRADIENT_SPREAD_REFLECT),