diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2011-07-06 07:26:32 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2011-07-06 07:26:32 +0000 |
| commit | b40f9bd37abc96d579f930dee9e6fb95031d74f0 (patch) | |
| tree | d40a7a29ecacc3a2e022fa60778a985aeace8382 /src/widgets/sp-color-notebook.cpp | |
| parent | Text edit dialog: Apply button should grab default only after adding to window (diff) | |
| download | inkscape-b40f9bd37abc96d579f930dee9e6fb95031d74f0.tar.gz inkscape-b40f9bd37abc96d579f930dee9e6fb95031d74f0.zip | |
Refactoring color profile to bring more internal. Help to prep for optional lcms2 support.
(bzr r10420)
Diffstat (limited to 'src/widgets/sp-color-notebook.cpp')
| -rw-r--r-- | src/widgets/sp-color-notebook.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/sp-color-notebook.cpp b/src/widgets/sp-color-notebook.cpp index 377abf219..d041f85df 100644 --- a/src/widgets/sp-color-notebook.cpp +++ b/src/widgets/sp-color-notebook.cpp @@ -37,6 +37,7 @@ #include "../inkscape.h" #include "../document.h" #include "../profile-manager.h" +#include "color-profile.h" struct SPColorNotebookTracker { const gchar* name; @@ -529,7 +530,7 @@ void ColorNotebook::_updateRgbaEntry( const SPColor& color, gfloat alpha ) if (color.icc){ Inkscape::ColorProfile* target_profile = SP_ACTIVE_DOCUMENT->profileManager->find(color.icc->colorProfile.c_str()); if ( target_profile ) - gtk_widget_set_sensitive (_box_outofgamut, target_profile->GamutCheck(color)); + gtk_widget_set_sensitive(_box_outofgamut, target_profile->GamutCheck(color)); } /* update too-much-ink icon */ |
