remove unused parameters from a method

This commit is contained in:
Mitchell Livingston
2008-03-26 19:51:58 +00:00
parent 5e04a1d6b4
commit ac0cd085ca
3 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@
- (NSColor *) colorForIndex: (int) index;
- (NSColor *) setColor: (NSColor *) color forIndex: (int) index;
- (void) addGroupWithName: (NSString *) name color: (NSColor *) color;
- (void) addNewGroup;
- (void) removeGroupWithRowIndexes: (NSIndexSet *) rowIndexes;
- (NSIndexSet *) moveGroupsAtRowIndexes: (NSIndexSet *) indexes toRow: (int) newRow oldSelected: (NSIndexSet *) selectedIndexes;

View File

@@ -170,7 +170,7 @@ GroupsController * fGroupsInstance = nil;
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateGroups" object: self];
}
- (void) addGroupWithName: (NSString *) name color: (NSColor *) color
- (void) addNewGroup
{
//find the lowest index
int index;

View File

@@ -164,7 +164,7 @@ GroupsWindowController * fGroupsWindowInstance = nil;
switch ([[sender cell] tagForSegment: [sender selectedSegment]])
{
case ADD_TAG:
[[GroupsController groups] addGroupWithName: @"" color: [NSColor cyanColor]];
[[GroupsController groups] addNewGroup];
[fTableView reloadData];
[fTableView deselectAll: self];