[gimp/metadata-browser] app/tests: Update gegl_buffer_get() code so it builds
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app/tests: Update gegl_buffer_get() code so it builds
- Date: Wed, 12 Sep 2012 23:01:44 +0000 (UTC)
commit 50bc17d32048c640e8cf77b67f726cdb4ea814d7
Author: Martin Nordholts <martinn src gnome org>
Date: Sun Apr 1 11:44:12 2012 +0200
app/tests: Update gegl_buffer_get() code so it builds
app/tests/test-gimptilebackendtilemanager.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/app/tests/test-gimptilebackendtilemanager.c b/app/tests/test-gimptilebackendtilemanager.c
index 0b603c0..7820974 100644
--- a/app/tests/test-gimptilebackendtilemanager.c
+++ b/app/tests/test-gimptilebackendtilemanager.c
@@ -72,7 +72,10 @@ basic_usage (void)
*/
backend = gimp_tile_backend_tile_manager_new (tm, FALSE);
buffer = gegl_buffer_new_for_backend (NULL, backend);
- gegl_buffer_get (buffer, 1.0 /*scale*/, &pixel_rect, babl_format ("RGBA u16"), actual_data, GEGL_AUTO_ROWSTRIDE);
+ gegl_buffer_get (buffer,
+ &pixel_rect, 1.0 /*scale*/,
+ babl_format ("RGBA u16"), actual_data,
+ GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_NONE);
g_assert_cmpint (0, ==, memcmp (opaque_magenta16, actual_data, sizeof (actual_data)));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]