Get rid of some warnings I added.

This commit is contained in:
Mitchell Livingston 2006-07-23 14:50:36 +00:00
parent 23c13fc293
commit 9765084794
2 changed files with 1 additions and 11 deletions

View File

@ -178,7 +178,6 @@
- (void) toggleAdvancedBar: (id) sender; - (void) toggleAdvancedBar: (id) sender;
- (void) setAutoSize: (NSNotification *) notification;
- (void) setWindowSizeToFit; - (void) setWindowSizeToFit;
- (NSRect) windowFrameForAmount: (int) amount; - (NSRect) windowFrameForAmount: (int) amount;

View File

@ -305,7 +305,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
[nc addObserver: self selector: @selector(autoImportChange:) [nc addObserver: self selector: @selector(autoImportChange:)
name: @"AutoImportSettingChange" object: nil]; name: @"AutoImportSettingChange" object: nil];
[nc addObserver: self selector: @selector(setAutoSize:) [nc addObserver: self selector: @selector(setWindowSizeToFit)
name: @"AutoSizeSettingChange" object: nil]; name: @"AutoSizeSettingChange" object: nil];
//check to start another because of stopped torrent //check to start another because of stopped torrent
@ -341,9 +341,6 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
[self applyFilter: nil]; [self applyFilter: nil];
#warning repetitive
[self setAutoSize: nil];
[fWindow makeKeyAndOrderFront: nil]; [fWindow makeKeyAndOrderFront: nil];
//load info for no torrents //load info for no torrents
@ -2122,12 +2119,6 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
return frame; return frame;
} }
#warning remove?
- (void) setAutoSize: (NSNotification *) notification
{
[self setWindowSizeToFit];
}
- (void) setWindowSizeToFit - (void) setWindowSizeToFit
{ {
if ([fDefaults boolForKey: @"AutoSize"]) if ([fDefaults boolForKey: @"AutoSize"])