[gimp/goat-invasion: 131/608] app: all Babls used by GIMP are now const



commit c4d6fbdc2d3f0136a3103734c84aa13223ec425f
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Sun Mar 18 16:48:42 2012 +0000

    app: all Babls used by GIMP are now const

 app/core/gimpimage-private.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpimage-private.h b/app/core/gimpimage-private.h
index 913b6fe..97dcc46 100644
--- a/app/core/gimpimage-private.h
+++ b/app/core/gimpimage-private.h
@@ -50,8 +50,8 @@ struct _GimpImagePrivate
   guchar            *colormap;              /*  colormap (for indexed)       */
   gint               n_colors;              /*  # of colors (for indexed)    */
   GimpPalette       *palette;               /*  palette of colormap          */
-  Babl              *babl_palette_rgb;      /*  palette's RGB Babl format    */
-  Babl              *babl_palette_rgba;     /*  palette's RGBA Babl format   */
+  const Babl        *babl_palette_rgb;      /*  palette's RGB Babl format    */
+  const Babl        *babl_palette_rgba;     /*  palette's RGBA Babl format   */
 
   gint               dirty;                 /*  dirty flag -- # of ops       */
   guint              dirty_time;            /*  time when image became dirty */



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