]> granicus.if.org Git - handbrake/commit
- fix issue:
authorkonablend <kona8lend@gmail.com>
Fri, 21 Sep 2012 18:45:29 +0000 (18:45 +0000)
committerkonablend <kona8lend@gmail.com>
Fri, 21 Sep 2012 18:45:29 +0000 (18:45 +0000)
commit9b3ab50a16042a2be298d15549cf30cbbc28f1c5
tree1195f2c9ed9104393a5dd2fe69fb37b244d75bc0
parent07c7f911312f4a72872507185a3088685d171ca4
- fix issue:
    abort() called
    *** Terminating app due to uncaught exception 'NSInvalidArgumentException'
    reason: '*** -blueComponent not defined for the NSColor NSCustomColorSpace Generic RGB colorspace 0.5 0.5 0.5 1; need to first convert colorspace.'
- remove superfluous color conversions; according to NSGradient docs, any needed colorspace conversions of params are automatic
- use [NSColor colorWithAlphaComponent] to force alpha
- change [NSColor colorWithSRGBRed] to [NSColor colorWithDeviceRed] for 10.6 API compatibilty
- [cosmetic] rename parm withEndColor -> endColor
- [leak] release NSGradient

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4972 b64f7644-9d1e-0410-96f1-a4d463321fa5
macosx/Controller.m
macosx/DockTextField.h
macosx/DockTextField.m