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



commit 6704a3fc26da6fe4592b89ecb1822ca8199ec859
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]