Bug 709732 - double color correction with X Color Management

This commit is contained in:
ku.b@gmx.de 2012-07-18 21:09:13 -04:00
Родитель e3460bb262
Коммит 78a0b90ff8
1 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -500,16 +500,10 @@ gfxPlatformGtk::GetPlatformCMSOutputProfile()
if (iccAtom) { if (iccAtom) {
// read once to get size, once for the data // read once to get size, once for the data
if (Success == XGetWindowProperty(dpy, root, iccAtom, if (Success == XGetWindowProperty(dpy, root, iccAtom,
0, 0 /* length */, 0, INT_MAX /* length */,
False, AnyPropertyType, False, AnyPropertyType,
&retAtom, &retFormat, &retLength, &retAtom, &retFormat, &retLength,
&retAfter, &retProperty)) { &retAfter, &retProperty)) {
XGetWindowProperty(dpy, root, iccAtom,
0, retLength,
False, AnyPropertyType,
&retAtom, &retFormat, &retLength,
&retAfter, &retProperty);
qcms_profile* profile = NULL; qcms_profile* profile = NULL;
if (retLength > 0) if (retLength > 0)