Changeset 670


Ignore:
Timestamp:
Jul 23, 2006, 2:50:36 PM (16 years ago)
Author:
livings124
Message:

Get rid of some warnings I added.

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.h

    r660 r670  
    179179- (void) toggleAdvancedBar: (id) sender;
    180180
    181 - (void) setAutoSize: (NSNotification *) notification;
    182181- (void) setWindowSizeToFit;
    183182- (NSRect) windowFrameForAmount: (int) amount;
  • trunk/macosx/Controller.m

    r669 r670  
    306306                    name: @"AutoImportSettingChange" object: nil];
    307307   
    308     [nc addObserver: self selector: @selector(setAutoSize:)
     308    [nc addObserver: self selector: @selector(setWindowSizeToFit)
    309309                    name: @"AutoSizeSettingChange" object: nil];
    310310   
     
    341341   
    342342    [self applyFilter: nil];
    343    
    344     #warning repetitive
    345     [self setAutoSize: nil];
    346343   
    347344    [fWindow makeKeyAndOrderFront: nil];
     
    21232120}
    21242121
    2125 #warning remove?
    2126 - (void) setAutoSize: (NSNotification *) notification
    2127 {
    2128     [self setWindowSizeToFit];
    2129 }
    2130 
    21312122- (void) setWindowSizeToFit
    21322123{
Note: See TracChangeset for help on using the changeset viewer.