[gimp] app: use "const GeglRectangle*" in the GimpTileHandlerValidate API
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: use "const GeglRectangle*" in the GimpTileHandlerValidate API
- Date: Sat, 5 Aug 2017 15:12:02 +0000 (UTC)
commit 572063765ffb3124499bdd76577f242bd319e859
Author: Michael Natterer <mitch gimp org>
Date: Sat Aug 5 15:49:06 2017 +0200
app: use "const GeglRectangle*" in the GimpTileHandlerValidate API
app/gegl/gimptilehandlervalidate.c | 4 ++--
app/gegl/gimptilehandlervalidate.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/gegl/gimptilehandlervalidate.c b/app/gegl/gimptilehandlervalidate.c
index 65993b8..c7feab1 100644
--- a/app/gegl/gimptilehandlervalidate.c
+++ b/app/gegl/gimptilehandlervalidate.c
@@ -361,7 +361,7 @@ gimp_tile_handler_validate_assign (GimpTileHandlerValidate *validate,
void
gimp_tile_handler_validate_invalidate (GimpTileHandlerValidate *validate,
- GeglRectangle *rect)
+ const GeglRectangle *rect)
{
g_return_if_fail (GIMP_IS_TILE_HANDLER_VALIDATE (validate));
g_return_if_fail (rect != NULL);
@@ -398,7 +398,7 @@ gimp_tile_handler_validate_invalidate (GimpTileHandlerValidate *validate,
void
gimp_tile_handler_validate_undo_invalidate (GimpTileHandlerValidate *validate,
- GeglRectangle *rect)
+ const GeglRectangle *rect)
{
g_return_if_fail (GIMP_IS_TILE_HANDLER_VALIDATE (validate));
g_return_if_fail (rect != NULL);
diff --git a/app/gegl/gimptilehandlervalidate.h b/app/gegl/gimptilehandlervalidate.h
index 3409e9f..5e2bda8 100644
--- a/app/gegl/gimptilehandlervalidate.h
+++ b/app/gegl/gimptilehandlervalidate.h
@@ -71,9 +71,9 @@ void gimp_tile_handler_validate_assign (GimpTileHandlerValidate
GeglBuffer *buffer);
void gimp_tile_handler_validate_invalidate (GimpTileHandlerValidate *validate,
- GeglRectangle *rect);
+ const GeglRectangle *rect);
void gimp_tile_handler_validate_undo_invalidate (GimpTileHandlerValidate *validate,
- GeglRectangle *rect);
+ const GeglRectangle *rect);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]