[gegl] buffer: in gegl_buffer_set_color_from_pixel(), use void ptr for pixel param



commit dabc038208ed6aa6229ef05d2104eccd4b0341fa
Author: Ell <ell_se yahoo com>
Date:   Sat Jan 19 10:48:07 2019 -0500

    buffer: in gegl_buffer_set_color_from_pixel(), use void ptr for pixel param

 gegl/buffer/gegl-buffer-access.c | 2 +-
 gegl/buffer/gegl-buffer.h        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-access.c b/gegl/buffer/gegl-buffer-access.c
index a463f1db1..4c73efb1e 100644
--- a/gegl/buffer/gegl-buffer-access.c
+++ b/gegl/buffer/gegl-buffer-access.c
@@ -2949,7 +2949,7 @@ gegl_buffer_set_color_from_pixel_rect (GeglBuffer            *dst,
 void
 gegl_buffer_set_color_from_pixel (GeglBuffer          *dst,
                                   const GeglRectangle *dst_rect,
-                                  const uint8_t       *pixel,
+                                  gconstpointer        pixel,
                                   const Babl          *pixel_format)
 {
   SetColorFromPixelData data = {};
diff --git a/gegl/buffer/gegl-buffer.h b/gegl/buffer/gegl-buffer.h
index d280fc083..308fc892a 100644
--- a/gegl/buffer/gegl-buffer.h
+++ b/gegl/buffer/gegl-buffer.h
@@ -312,7 +312,7 @@ void            gegl_buffer_set               (GeglBuffer          *buffer,
 void
 gegl_buffer_set_color_from_pixel (GeglBuffer          *buffer,
                                   const GeglRectangle *rect,
-                                  const guchar        *pixel,
+                                  gconstpointer        pixel,
                                   const Babl          *pixel_format);
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]