[gnome-color-manager] trivial: use cmsSetProfileVersion() rather than the lowlevel cmsSetEncodedICCversion()



commit 3a1dc016f1f2b5067423ff50a4fe7cc76e2cf1ca
Author: Richard Hughes <richard hughsie com>
Date:   Mon Apr 18 07:04:53 2011 +0100

    trivial: use cmsSetProfileVersion() rather than the lowlevel cmsSetEncodedICCversion()

 src/gcm-calibrate-native.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-calibrate-native.c b/src/gcm-calibrate-native.c
index 3615895..994eb27 100644
--- a/src/gcm-calibrate-native.c
+++ b/src/gcm-calibrate-native.c
@@ -618,7 +618,7 @@ gcm_calibrate_native_display (GcmCalibrate *calibrate, CdSensor *sensor, GtkWind
 	/* take it8 file, and open */
 	profile = cmsCreateProfilePlaceholder (NULL);
 
-	cmsSetEncodedICCversion (profile, 0x2000000);
+	cmsSetProfileVersion (profile, 4.2);
 	cmsSetDeviceClass (profile, cmsSigDisplayClass);
 	cmsSetColorSpace (profile, cmsSigRgbData);
 	cmsSetPCS (profile, cmsSigLabData);



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