Author: abrander
Date: 2009-12-12 12:54:20 +0100 (Sat, 12 Dec 2009)
New Revision: 2787
Modified:
trunk/librawstudio/rs-color-space-icc.c
Log:
Maintain reference to initial ICC profile in RSColorSpaceIcc.
Modified: trunk/librawstudio/rs-color-space-icc.c
===================================================================
--- trunk/librawstudio/rs-color-space-icc.c 2009-12-12 10:55:14 UTC (rev
2786)
+++ trunk/librawstudio/rs-color-space-icc.c 2009-12-12 11:54:20 UTC (rev
2787)
@@ -61,7 +61,7 @@
if (RS_IS_ICC_PROFILE(icc_profile))
{
- color_space_icc->icc_profile = icc_profile;
+ color_space_icc->icc_profile = g_object_ref(icc_profile);
/* FIXME: Some profiles will be nothing more than a fancy
container
* for a color spaces definition, we should recognize those
cases and
* try to convert them to RSColorSpace without the need for a
CMS */
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit