From 8e0a15753142d411a2c543c409b8f5d52d5fe3ef Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Mon, 29 Oct 2012 22:16:42 +0000 Subject: [PATCH] silence a deprecation warning --- macosx/DragOverlayView.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/macosx/DragOverlayView.m b/macosx/DragOverlayView.m index 85ff86472..3821d967b 100644 --- a/macosx/DragOverlayView.m +++ b/macosx/DragOverlayView.m @@ -113,8 +113,7 @@ { const NSRect frame = [self frame]; const NSSize imageSize = [fBadge size]; - [fBadge compositeToPoint: NSMakePoint((NSWidth(frame) - imageSize.width) * 0.5, - (NSHeight(frame) - imageSize.height) * 0.5) operation: NSCompositeSourceOver]; + [fBadge drawAtPoint: NSMakePoint((NSWidth(frame) - imageSize.width) * 0.5, (NSHeight(frame) - imageSize.height) * 0.5) fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0]; } }