summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-10-23 07:55:19 +0000
committerritsuka <[email protected]>2014-10-23 07:55:19 +0000
commitf45c16a9421926d0fa5f045161ea95ecc0e5db05 (patch)
tree4c174fe0de113f70692d7f289d07ca57825d0169
parent601c4e9f5bcd7ac31cf2f25ce9b8c88af4627743 (diff)
MacGui: replaced a deprecated compositeToPoint: call.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6456 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--macosx/HBImageAndTextCell.m4
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];