1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-07 06:54:40 +00:00

explicitly synthesize variables in FileRenameSheetController

This commit is contained in:
Mitchell Livingston 2013-01-26 19:59:56 +00:00
parent e14b1b0d03
commit 50d212bf88

View file

@ -22,6 +22,11 @@ typedef void (^CompletionBlock)(BOOL);
@implementation FileRenameSheetController
#warning remove ivars in header when 64-bit only (or it compiles in 32-bit mode)
@synthesize torrent = _torrent;
@synthesize node = _node;
@synthesize completionHandler = _completionHandler;
+ (void) presentSheetForTorrent: (Torrent *) torrent modalForWindow: (NSWindow *) window completionHandler: (void (^)(BOOL didRename)) completionHandler
{
NSParameterAssert(torrent != nil);