[gimp/goat-invasion: 531/608] app: add XXX comment about assuming u8 to GimpHistogram



commit db8b3b73fb436b0b7b8a3e28af193466c3f96f89
Author: Michael Natterer <mitch gimp org>
Date:   Sun Apr 22 16:55:31 2012 +0200

    app: add XXX comment about assuming u8 to GimpHistogram

 app/core/gimphistogram.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimphistogram.c b/app/core/gimphistogram.c
index 33bcacb..1f04dc8 100644
--- a/app/core/gimphistogram.c
+++ b/app/core/gimphistogram.c
@@ -120,6 +120,7 @@ gimp_histogram_calculate (GimpHistogram       *histogram,
   g_return_if_fail (GEGL_IS_BUFFER (buffer));
   g_return_if_fail (buffer_rect != NULL);
 
+  /* XXX need to analyze the real components here, this code assumes u8 */
   format = gegl_buffer_get_format (buffer);
   bpp    = babl_format_get_bytes_per_pixel (format);
 



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