[gegl] buffer: add const qualifier to input rect parameter ...
- From: N/A <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] buffer: add const qualifier to input rect parameter ...
- Date: Thu, 15 Sep 2016 15:29:13 +0000 (UTC)
commit 2730f0a4682767740671e98895f3a2c505b8c7c3
Author: Ell <ell_se yahoo com>
Date: Sat Sep 10 14:42:00 2016 +0000
buffer: add const qualifier to input rect parameter ...
... of gegl_tile_backend_set_extent()
gegl/buffer/gegl-tile-backend.c | 4 ++--
gegl/buffer/gegl-tile-backend.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gegl/buffer/gegl-tile-backend.c b/gegl/buffer/gegl-tile-backend.c
index f353bcd..1dc6d50 100644
--- a/gegl/buffer/gegl-tile-backend.c
+++ b/gegl/buffer/gegl-tile-backend.c
@@ -211,8 +211,8 @@ gegl_tile_backend_get_format (GeglTileBackend *tile_backend)
void
-gegl_tile_backend_set_extent (GeglTileBackend *tile_backend,
- GeglRectangle *rectangle)
+gegl_tile_backend_set_extent (GeglTileBackend *tile_backend,
+ const GeglRectangle *rectangle)
{
tile_backend->priv->extent = *rectangle;
}
diff --git a/gegl/buffer/gegl-tile-backend.h b/gegl/buffer/gegl-tile-backend.h
index 83db254..db8b5e7 100644
--- a/gegl/buffer/gegl-tile-backend.h
+++ b/gegl/buffer/gegl-tile-backend.h
@@ -103,8 +103,8 @@ GeglTileSource *gegl_tile_backend_peek_storage (GeglTileBackend *tile_backend);
* backend with the width/height information when constructing proxy
* GeglBuffers to interact with other systems
*/
-void gegl_tile_backend_set_extent (GeglTileBackend *tile_backend,
- GeglRectangle *rectangle);
+void gegl_tile_backend_set_extent (GeglTileBackend *tile_backend,
+ const GeglRectangle *rectangle);
GeglRectangle gegl_tile_backend_get_extent (GeglTileBackend *tile_backend);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]