[gimp] app: all Babls used by GIMP are now const
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: all Babls used by GIMP are now const
- Date: Wed, 2 May 2012 16:07:28 +0000 (UTC)
commit 7250085d1ca1be5df36f7ca2b5bef74c3159e94d
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]