app: color manage the color DND icon widget

This commit is contained in:
Michael Natterer 2016-05-29 21:32:05 +02:00
parent 45d705df39
commit 2530b03f3c
1 changed files with 4 additions and 0 deletions

View File

@ -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);