forked from enlightenment/efl
Ector renderer: fix return value to be of the right type.
This function expects a pointer as a return value, not a bool. @fix.
This commit is contained in:
parent
80c8215559
commit
7dc60520f6
|
@ -56,7 +56,7 @@ _ector_renderer_cairo_gradient_radial_prepare(Eo *obj,
|
||||||
{
|
{
|
||||||
cairo_pattern_t *pat;
|
cairo_pattern_t *pat;
|
||||||
|
|
||||||
USE(obj, cairo_pattern_create_radial, EINA_FALSE);
|
USE(obj, cairo_pattern_create_radial, NULL);
|
||||||
|
|
||||||
pat = cairo_pattern_create_radial(grd->focal.x, grd->focal.y, 0,
|
pat = cairo_pattern_create_radial(grd->focal.x, grd->focal.y, 0,
|
||||||
grd->radial.x, grd->radial.y, grd->radius);
|
grd->radial.x, grd->radial.y, grd->radius);
|
||||||
|
@ -64,7 +64,7 @@ _ector_renderer_cairo_gradient_radial_prepare(Eo *obj,
|
||||||
|
|
||||||
_ector_renderer_cairo_gradient_prepare(obj, pat, gd, mul_col);
|
_ector_renderer_cairo_gradient_prepare(obj, pat, gd, mul_col);
|
||||||
|
|
||||||
USE(obj, cairo_pattern_set_extend, EINA_FALSE);
|
USE(obj, cairo_pattern_set_extend, NULL);
|
||||||
cairo_pattern_set_extend(pat, _ector_cairo_extent_get(gd->s));
|
cairo_pattern_set_extend(pat, _ector_cairo_extent_get(gd->s));
|
||||||
|
|
||||||
return pat;
|
return pat;
|
||||||
|
|
Loading…
Reference in New Issue