app: migrate operationbuffersourcevalidate to new iterator api

(cherry picked from commit 95358ca1fa)
This commit is contained in:
Øyvind Kolås 2018-09-11 01:46:10 +02:00
parent 33dd7daa30
commit 04517b842a

View file

@ -18,6 +18,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#define GEGL_ITERATOR2_API
#include "config.h"
#include <cairo.h>
@ -317,7 +318,7 @@ gimp_operation_buffer_source_validate_process (GeglOperation *operation,
rect.height),
level, NULL,
GEGL_BUFFER_READ,
GEGL_ABYSS_NONE);
GEGL_ABYSS_NONE, 1);
while (gegl_buffer_iterator_next (iter));
}