app: allow calling gimp_tile_handler_validate_validate() with a NULL rect

... and validate the entire buffer.
This commit is contained in:
Ell 2020-01-15 21:38:10 +02:00
parent 3e78c674d8
commit ba6040bbcd
1 changed files with 3 additions and 0 deletions

View File

@ -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);