[gimp] app: color manage the color DND icon widget
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: color manage the color DND icon widget
- Date: Sun, 29 May 2016 19:32:30 +0000 (UTC)
commit 2530b03f3cc1fc77be1e2d4a428af7fb52432784
Author: Michael Natterer <mitch gimp org>
Date: Sun May 29 21:32:05 2016 +0200
app: color manage the color DND icon widget
app/widgets/gimpdnd.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpdnd.c b/app/widgets/gimpdnd.c
index 3883f75..3f89675 100644
--- a/app/widgets/gimpdnd.c
+++ b/app/widgets/gimpdnd.c
@@ -25,6 +25,8 @@
#include "widgets-types.h"
+#include "config/gimpcoreconfig.h"
+
#include "core/gimp.h"
#include "core/gimpbrush.h"
#include "core/gimpbuffer.h"
@@ -1336,6 +1338,8 @@ gimp_dnd_get_color_icon (GtkWidget *widget,
(GDestroyNotify) g_free);
color_area = gimp_color_area_new (&color, GIMP_COLOR_AREA_SMALL_CHECKS, 0);
+ gimp_color_area_set_color_config (GIMP_COLOR_AREA (color_area),
+ the_dnd_gimp->config->color_management);
gtk_widget_set_size_request (color_area,
DRAG_PREVIEW_SIZE, DRAG_PREVIEW_SIZE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]