mirror of https://github.com/GNOME/gimp.git
app: allow calling gimp_tile_handler_validate_validate() with a NULL rect
... and validate the entire buffer.
This commit is contained in:
parent
3e78c674d8
commit
ba6040bbcd
|
@ -511,6 +511,9 @@ gimp_tile_handler_validate_validate (GimpTileHandlerValidate *validate,
|
|||
|
||||
klass = GIMP_TILE_HANDLER_VALIDATE_GET_CLASS (validate);
|
||||
|
||||
if (! rect)
|
||||
rect = gegl_buffer_get_extent (buffer);
|
||||
|
||||
if (intersect)
|
||||
{
|
||||
cairo_region_t *region = cairo_region_copy (validate->dirty_region);
|
||||
|
|
Loading…
Reference in New Issue