Permalink
Browse files

Updated to fix Deprecated method calls

  • Loading branch information...
kdbdallas committed Aug 22, 2012
1 parent 6c3f8ad commit 88c1603c69067dec00c398edd97069e1c754e331
Showing with 2 additions and 1 deletion.
  1. +2 −1 Popup/StatusItemView.m
View
@@ -38,7 +38,8 @@ - (void)drawRect:(NSRect)dirtyRect
CGFloat iconX = roundf((NSWidth(bounds) - iconSize.width) / 2);
CGFloat iconY = roundf((NSHeight(bounds) - iconSize.height) / 2);
NSPoint iconPoint = NSMakePoint(iconX, iconY);
- [icon compositeToPoint:iconPoint operation:NSCompositeSourceOver];
+
+ [icon drawAtPoint:iconPoint fromRect:NSZeroRect operation:NSCompositeSourceOver fraction:1.0];
}
#pragma mark -

0 comments on commit 88c1603

Please sign in to comment.