index 6dcdfc9771c488105399f2d02b4415b51975a8ce..43a2a3cbe7ef7a573aef17ab06cb22e5442976b3 100644 (file)
}
#endif // ENABLE_LCMS
+#ifdef ENABLE_LCMS
void ColorICCSelector::_switchToProfile( gchar const* name )
{
bool dirty = false;
tmp.icc = new SVGICCColor();
}
tmp.icc->colorProfile = name;
-#if ENABLE_LCMS
Inkscape::ColorProfile* newProf = SP_ACTIVE_DOCUMENT->profileManager->find(name);
if ( newProf ) {
cmsHTRANSFORM trans = newProf->getTransfFromSRGB8();
}
}
}
-#endif // ENABLE_LCMS
dirty = true;
}
} else {
#endif // DEBUG_LCMS
}
}
+#endif // ENABLE_LCMS
void ColorICCSelector::_profilesChanged( std::string const & name )
{
+#ifdef ENABLE_LCMS
GtkComboBox* combo = GTK_COMBO_BOX(_profileSel);
g_signal_handler_block( G_OBJECT(_profileSel), _profChangedID );
}
g_signal_handler_unblock( G_OBJECT(_profileSel), _profChangedID );
+#endif // ENABLE_LCMS
}
/* Helpers for setting color value */
}
}
#else
- (void)color;
+ //(void)color;
#endif // ENABLE_LCMS
_updateSliders( -1 );