[gimp/goat-invasion: 131/526] app: all Babls used by GIMP are now const
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 131/526] app: all Babls used by GIMP are now const
- Date: Sun, 22 Apr 2012 13:10:17 +0000 (UTC)
commit 78714f6c30313aaf45851f9a83dc59e38bbb2cb7
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]