aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-09 12:37:28 +0100
committerTom Hacohen <tom@stosb.com>2015-10-09 12:37:28 +0100
commit7dc60520f6d8c2d3c5d81b66179ef776e5b8a6f5 (patch)
treeca860b9e7f1062bd401702504f0d4ad545f81fb1 /src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c
parentEthumb client: Fix shadow issues (warnings). (diff)
downloadefl-7dc60520f6d8c2d3c5d81b66179ef776e5b8a6f5.tar.gz
Ector renderer: fix return value to be of the right type.
This function expects a pointer as a return value, not a bool. @fix.
Diffstat (limited to 'src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c')
-rw-r--r--src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c b/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c
index 0857e2542f..4f8754f79e 100644
--- a/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c
+++ b/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c
@@ -56,7 +56,7 @@ _ector_renderer_cairo_gradient_radial_prepare(Eo *obj,
{
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,
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);
- 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));
return pat;