diff options
author | ritsuka <[email protected]> | 2014-10-23 07:55:19 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-10-23 07:55:19 +0000 |
commit | f45c16a9421926d0fa5f045161ea95ecc0e5db05 (patch) | |
tree | 4c174fe0de113f70692d7f289d07ca57825d0169 /macosx | |
parent | 601c4e9f5bcd7ac31cf2f25ce9b8c88af4627743 (diff) |
MacGui: replaced a deprecated compositeToPoint: call.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6456 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBImageAndTextCell.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBImageAndTextCell.m b/macosx/HBImageAndTextCell.m index ff860c66f..5e2a09cad 100644 --- a/macosx/HBImageAndTextCell.m +++ b/macosx/HBImageAndTextCell.m @@ -194,8 +194,8 @@ scaleProportionally(NSSize imageSize, NSRect canvasRect) break; } - - [image compositeToPoint:imageFrame.origin operation:NSCompositeSourceOver]; + + [image drawAtPoint:imageFrame.origin fromRect:imageFrame operation:NSCompositeSourceOver fraction:1.0]; } [super drawWithFrame:cellFrame inView:controlView]; |