[gimp] app: add support for offset buffers in GimpScanConvert
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add support for offset buffers in GimpScanConvert
- Date: Mon, 3 Feb 2020 19:24:26 +0000 (UTC)
commit d920569771cb3da4b2141df8f70cb0552a1f4c25
Author: Ell <ell_se yahoo com>
Date: Mon Feb 3 19:59:35 2020 +0200
app: add support for offset buffers in GimpScanConvert
Ditto.
app/core/gimpscanconvert.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpscanconvert.c b/app/core/gimpscanconvert.c
index 949db5e590..8ac3570ce7 100644
--- a/app/core/gimpscanconvert.c
+++ b/app/core/gimpscanconvert.c
@@ -509,8 +509,8 @@ gimp_scan_convert_render_full (GimpScanConvert *sc,
g_return_if_fail (sc != NULL);
g_return_if_fail (GEGL_IS_BUFFER (buffer));
- x = 0;
- y = 0;
+ x = gegl_buffer_get_x (buffer);
+ y = gegl_buffer_get_y (buffer);
width = gegl_buffer_get_width (buffer);
height = gegl_buffer_get_height (buffer);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]