[cairo-commit] src/cairo-region.c
Søren Sandmann Pedersen
sandmann at kemper.freedesktop.org
Wed Apr 1 05:57:10 PDT 2009
src/cairo-region.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 0f21893b0510a188439c2d8cd448bcfcf17ef8c6
Author: Søren Sandmann Pedersen <sandmann at daimi.au.dk>
Date: Wed Apr 1 08:54:30 2009 -0400
[region] pixman_region32_contains_point() does not allow NULL for box
diff --git a/src/cairo-region.c b/src/cairo-region.c
index 6bdfd24..15bf2f1 100644
--- a/src/cairo-region.c
+++ b/src/cairo-region.c
@@ -577,9 +577,11 @@ cairo_bool_t
cairo_region_contains_point (cairo_region_t *region,
int x, int y)
{
+ pixman_box32_t box;
+
if (region->status)
return FALSE;
- return pixman_region32_contains_point (®ion->rgn, x, y, NULL);
+ return pixman_region32_contains_point (®ion->rgn, x, y, &box);
}
slim_hidden_def (cairo_region_contains_point);
More information about the cairo-commit
mailing list