[gimp] app: color manage the color buttons of GimpColorHistory
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: color manage the color buttons of GimpColorHistory
- Date: Thu, 26 May 2016 20:25:37 +0000 (UTC)
commit 0acff064654199e105813c3de63cc6a3a36fe4cf
Author: Michael Natterer <mitch gimp org>
Date: Thu May 26 22:24:35 2016 +0200
app: color manage the color buttons of GimpColorHistory
app/widgets/gimpcolorhistory.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpcolorhistory.c b/app/widgets/gimpcolorhistory.c
index 584fff7..5d11c58 100644
--- a/app/widgets/gimpcolorhistory.c
+++ b/app/widgets/gimpcolorhistory.c
@@ -27,6 +27,9 @@
#include "widgets-types.h"
+#include "config/gimpcoreconfig.h"
+
+#include "core/gimp.h"
#include "core/gimp-palettes.h"
#include "core/gimpcontext.h"
#include "core/gimpmarshal.h"
@@ -183,6 +186,8 @@ gimp_color_history_set_property (GObject *object,
history->color_areas[i] = gimp_color_area_new (&black,
GIMP_COLOR_AREA_SMALL_CHECKS,
GDK_BUTTON2_MASK);
+ gimp_color_area_set_color_config (GIMP_COLOR_AREA (history->color_areas[i]),
+ history->context->gimp->config->color_management);
gtk_container_add (GTK_CONTAINER (button), history->color_areas[i]);
gtk_widget_show (history->color_areas[i]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]