diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-08-28 13:41:27 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-08-28 13:41:27 +0200 |
commit | 6f0113bdef18bdc597a7c79a89e8ab9b6a11a146 (patch) | |
tree | 4ab84cbacdb9a8441261e833ed4d62c26b9390ab /mozilla-709732-gfx-icc-profile-fix.patch | |
parent | ae594094606ae28490c52bde58690c795d17d08e (diff) |
Xulrunner / Firefox 15.0
Diffstat (limited to 'mozilla-709732-gfx-icc-profile-fix.patch')
-rw-r--r-- | mozilla-709732-gfx-icc-profile-fix.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mozilla-709732-gfx-icc-profile-fix.patch b/mozilla-709732-gfx-icc-profile-fix.patch new file mode 100644 index 0000000..7e268d0 --- /dev/null +++ b/mozilla-709732-gfx-icc-profile-fix.patch @@ -0,0 +1,21 @@ +diff -r dd29535bac5f gfx/thebes/gfxPlatformGtk.cpp +--- a/gfx/thebes/gfxPlatformGtk.cpp Sat May 05 20:22:53 2012 -0700 ++++ b/gfx/thebes/gfxPlatformGtk.cpp Wed May 09 11:42:21 2012 +0200 +@@ -538,16 +538,10 @@ + 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) |