[gimp/goat-invasion: 115/608] app: sync with babl API change of babl_new_palette
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 115/608] app: sync with babl API change of babl_new_palette
- Date: Fri, 27 Apr 2012 20:35:04 +0000 (UTC)
commit 7430d254753be5c89cc1f0a4b99ec64dd10a549c
Author: Ãyvind KolÃs <pippin gimp org>
Date: Sun Mar 18 13:11:55 2012 +0000
app: sync with babl API change of babl_new_palette
app/core/gimpimage-colormap.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpimage-colormap.c b/app/core/gimpimage-colormap.c
index 9653299..1c5d9d4 100644
--- a/app/core/gimpimage-colormap.c
+++ b/app/core/gimpimage-colormap.c
@@ -72,8 +72,7 @@ gimp_image_colormap_init (GimpImage *image)
private->palette = GIMP_PALETTE (gimp_palette_new (NULL, palette_name));
/* FIXME name palette */
- private->babl_palette_rgb = babl_new_palette (NULL, FALSE);
- private->babl_palette_rgba = babl_new_palette (NULL, TRUE);
+ babl_new_palette (NULL, &private->babl_palette_rgb, &private->babl_palette_rgba);
gimp_palette_set_columns (private->palette, 16);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]