silence a deprecation warning

This commit is contained in:
Mitchell Livingston 2012-10-29 22:16:42 +00:00
parent 96e77053b4
commit 8e0a157531
1 changed files with 1 additions and 2 deletions

View File

@ -113,8 +113,7 @@
{ {
const NSRect frame = [self frame]; const NSRect frame = [self frame];
const NSSize imageSize = [fBadge size]; const NSSize imageSize = [fBadge size];
[fBadge compositeToPoint: NSMakePoint((NSWidth(frame) - imageSize.width) * 0.5, [fBadge drawAtPoint: NSMakePoint((NSWidth(frame) - imageSize.width) * 0.5, (NSHeight(frame) - imageSize.height) * 0.5) fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0];
(NSHeight(frame) - imageSize.height) * 0.5) operation: NSCompositeSourceOver];
} }
} }