Ignore:
Timestamp:
Apr 22, 2008, 1:16:39 PM (14 years ago)
Author:
livings124
Message:

remove an unnecessary class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r5609 r5664  
    3636#import "ButtonToolbarItem.h"
    3737#import "GroupToolbarItem.h"
    38 #import "ToolbarSegmentedCell.h"
    3938#import "NSApplicationAdditions.h"
    4039#import "NSStringAdditions.h"
     
    30933092        GroupToolbarItem * groupItem = [[GroupToolbarItem alloc] initWithItemIdentifier: ident];
    30943093       
    3095         NSSegmentedControl * segmentedControl = [[NSSegmentedControl alloc] initWithFrame: NSZeroRect];
    3096         [segmentedControl setCell: [[[ToolbarSegmentedCell alloc] init] autorelease]];
     3094        NSSegmentedControl * segmentedControl = [[NSSegmentedControl alloc] init];
    30973095        [groupItem setView: segmentedControl];
    30983096        NSSegmentedCell * segmentedCell = (NSSegmentedCell *)[segmentedControl cell];
     
    31323130        GroupToolbarItem * groupItem = [[GroupToolbarItem alloc] initWithItemIdentifier: ident];
    31333131       
    3134         NSSegmentedControl * segmentedControl = [[NSSegmentedControl alloc] initWithFrame: NSZeroRect];
    3135         [segmentedControl setCell: [[[ToolbarSegmentedCell alloc] init] autorelease]];
     3132        NSSegmentedControl * segmentedControl = [[NSSegmentedControl alloc] init];
    31363133        [groupItem setView: segmentedControl];
    31373134        NSSegmentedCell * segmentedCell = (NSSegmentedCell *)[segmentedControl cell];
Note: See TracChangeset for help on using the changeset viewer.