app: get rid of #ifdef USE_CAIRO_REGION almost everywhere
get replaced by GDK region functions and use the cairo region functions unconditionally all over the place.
This commit is contained in:
@ -285,11 +285,7 @@ gimp_canvas_polygon_get_extents (GimpCanvasItem *item,
|
||||
rectangle.width = x2 - x1;
|
||||
rectangle.height = y2 - y1;
|
||||
|
||||
#ifdef USE_CAIRO_REGION
|
||||
return cairo_region_create_rectangle ((cairo_rectangle_int_t *) &rectangle);
|
||||
#else
|
||||
return gdk_region_rectangle (&rectangle);
|
||||
#endif
|
||||
}
|
||||
|
||||
GimpCanvasItem *
|
||||
|
Reference in New Issue
Block a user