[gimp] modules: migrate aces-rrt filter to new iterator api
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] modules: migrate aces-rrt filter to new iterator api
- Date: Wed, 12 Sep 2018 11:55:22 +0000 (UTC)
commit 6761da42b2302341a773fb65f9005ac398b9bff1
Author: Øyvind Kolås <pippin gimp org>
Date: Tue Sep 11 01:36:50 2018 +0200
modules: migrate aces-rrt filter to new iterator api
modules/display-filter-aces-rrt.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/modules/display-filter-aces-rrt.c b/modules/display-filter-aces-rrt.c
index d71e2b63db..14421caf80 100644
--- a/modules/display-filter-aces-rrt.c
+++ b/modules/display-filter-aces-rrt.c
@@ -17,6 +17,7 @@
#include "config.h"
+#define GEGL_ITERATOR2_API
#include <gegl.h>
#include <gtk/gtk.h>
@@ -200,11 +201,11 @@ cdisplay_aces_rrt_convert_buffer (GimpColorDisplay *display,
iter = gegl_buffer_iterator_new (buffer, area, 0,
babl_format ("RGBA float"),
- GEGL_ACCESS_READWRITE, GEGL_ABYSS_NONE);
+ GEGL_ACCESS_READWRITE, GEGL_ABYSS_NONE, 1);
while (gegl_buffer_iterator_next (iter))
{
- gfloat *data = iter->data[0];
+ gfloat *data = iter->items[0].data;
gint count = iter->length;
while (count--)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]