diff options
author | Søren Sandmann Pedersen <sandmann@redhat.com> | 2009-02-21 08:13:25 -0500 |
---|---|---|
committer | Søren Sandmann Pedersen <sandmann@daimi.au.dk> | 2009-03-28 18:02:57 -0400 |
commit | 4b3245481cfbf96388c140421a071fd1f79ad601 (patch) | |
tree | 1aca416d504c63d1d739d4873537b0ed39471d1e /src/cairo-traps.c | |
parent | bf6d9bc1758ac1971485b6565d29934d6b06bef2 (diff) |
[region] Expand rect to rectangle in a couple of names
Specifically,
cairo_region_union_rect -> cairo_region_union_rectangle
cairo_region_create_rect -> cairo_region_create_rectangle
Also delete cairo_region_clear() which is not that useful.
Diffstat (limited to 'src/cairo-traps.c')
-rw-r--r-- | src/cairo-traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-traps.c b/src/cairo-traps.c index 2fc2fac2..d91e0d8f 100644 --- a/src/cairo-traps.c +++ b/src/cairo-traps.c @@ -649,7 +649,7 @@ _cairo_traps_extract_region (const cairo_traps_t *traps, rect.width = x2 - x1; rect.height = y2 - y1; - status = cairo_region_union_rect (r, &rect); + status = cairo_region_union_rectangle (r, &rect); if (unlikely (status)) { cairo_region_destroy (r); |