[gnome-color-manager] trivial: use cmsSetProfileVersion() rather than the lowlevel cmsSetEncodedICCversion()
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: use cmsSetProfileVersion() rather than the lowlevel cmsSetEncodedICCversion()
- Date: Wed, 20 Apr 2011 20:09:01 +0000 (UTC)
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]