projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4cbdca
)
Ector renderer: fix return value to be of the right type.
author
Tom Hacohen
<tom@stosb.com>
Fri, 9 Oct 2015 11:27:30 +0000
(12:27 +0100)
committer
Tom Hacohen
<tom@stosb.com>
Fri, 9 Oct 2015 11:27:30 +0000
(12:27 +0100)
This function expects a pointer as a return value, not a bool.
@fix.
src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c
patch
|
blob
|
history
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
(file)
--- 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;