tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=fa6fac81821974b2ca20131f146af38fb4d1f7a5

commit fa6fac81821974b2ca20131f146af38fb4d1f7a5
Author: Tom Hacohen <t...@stosb.com>
Date:   Fri Oct 9 12:27:30 2015 +0100

    Ector renderer: fix return value to be of the right type.
    
    This function expects a pointer as a return value, not a bool.
    
    @fix.
---
 src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c 
b/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c
index cf354b4..21ba878 100644
--- a/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c
+++ b/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c
@@ -34,14 +34,14 @@ _ector_renderer_cairo_gradient_linear_prepare(Eo *obj,
 {
    cairo_pattern_t *pat;
 
-   USE(obj, cairo_pattern_create_linear, EINA_FALSE);
+   USE(obj, cairo_pattern_create_linear, NULL);
 
    pat = cairo_pattern_create_linear(gld->start.x, gld->start.y,
                                      gld->end.x, gld->end.y);
    if (!pat) return NULL;
    _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;

-- 


Reply via email to