mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 709732 - double color correction with X Color Management
This commit is contained in:
parent
e3460bb262
commit
78a0b90ff8
@ -500,16 +500,10 @@ gfxPlatformGtk::GetPlatformCMSOutputProfile()
|
||||
if (iccAtom) {
|
||||
// read once to get size, once for the data
|
||||
if (Success == XGetWindowProperty(dpy, root, iccAtom,
|
||||
0, 0 /* length */,
|
||||
0, INT_MAX /* length */,
|
||||
False, AnyPropertyType,
|
||||
&retAtom, &retFormat, &retLength,
|
||||
&retAfter, &retProperty)) {
|
||||
XGetWindowProperty(dpy, root, iccAtom,
|
||||
0, retLength,
|
||||
False, AnyPropertyType,
|
||||
&retAtom, &retFormat, &retLength,
|
||||
&retAfter, &retProperty);
|
||||
|
||||
qcms_profile* profile = NULL;
|
||||
|
||||
if (retLength > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user