remove document controller variable.

This commit is contained in:
Kelvin Sherlock 2011-03-10 23:21:07 -05:00
parent 8e8add7510
commit 261aba02db
2 changed files with 1 additions and 3 deletions

View File

@ -11,7 +11,6 @@
@interface Image_OpenerAppDelegate : NSObject <NSApplicationDelegate> {
@private
NSWindow *_window;
NSDocumentController *_controller;
}
@property (assign) IBOutlet NSWindow *window;

View File

@ -15,7 +15,6 @@
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
_controller = [[NSDocumentController sharedDocumentController] retain];
// Insert code here to initialize your application
}
@ -52,7 +51,7 @@
{
[self application: nil openFile: path];
[_controller noteNewRecentDocumentURL: url];
[[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL: url];
}
}