[gnome-color-manager] trivial: don't call cmsSetEncodedICCversion() manually, cmsCreateRGBProfile() sets it for us



commit b1e425d09d14dfa856ec480641ffd2007174868a
Author: Richard Hughes <richard hughsie com>
Date:   Sat Apr 16 18:35:58 2011 +0100

    trivial: don't call cmsSetEncodedICCversion() manually, cmsCreateRGBProfile() sets it for us

 src/gcm-profile.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-profile.c b/src/gcm-profile.c
index c4adb1c..f5495a0 100644
--- a/src/gcm-profile.c
+++ b/src/gcm-profile.c
@@ -1192,7 +1192,6 @@ gcm_profile_create_from_chroma (GcmProfile *profile,
 		g_set_error (error, 1, 0, "failed to create profile");
 		goto out;
 	}
-	cmsSetEncodedICCversion (priv->lcms_profile, 2);
 	cmsFreeToneCurve (*transfer_curve);
 
 	/* success */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]