ector: call eo_do_super on the right gradient class in Ector.Renderer.Cairo.Gradient_...
authorCedric BAIL <cedric@osg.samsung.com>
Fri, 3 Apr 2015 14:31:35 +0000 (16:31 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 3 Apr 2015 14:31:35 +0000 (16:31 +0200)
src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c

index 69d9155..fc3ee0c 100644 (file)
@@ -129,7 +129,7 @@ _ector_renderer_cairo_gradient_radial_efl_gfx_gradient_base_stop_set(Eo *obj, Ec
    if (pd->pat) cairo_pattern_destroy(pd->pat);
    pd->pat = NULL;
 
-   eo_do_super(obj, ECTOR_RENDERER_CAIRO_GRADIENT_LINEAR_CLASS,
+   eo_do_super(obj, ECTOR_RENDERER_CAIRO_GRADIENT_RADIAL_CLASS,
                efl_gfx_gradient_stop_set(colors, length));
 }