(insertItemWithTitle:atIndex:,

selectItemAtIndex:, selectItemWithTitle:, setTitle:)
Corrected type of local variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16990 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2003-06-21 23:28:40 +00:00
parent 4e85384a96
commit 4afc950070

View file

@ -171,7 +171,7 @@ static NSImage *_pbc_image[2];
- (void) insertItemWithTitle: (NSString *)title atIndex: (int)index
{
NSMenuItem *anItem;
id <NSMenuItem> anItem;
int count = [_menu numberOfItems];
if (index < 0)
@ -298,7 +298,7 @@ static NSImage *_pbc_image[2];
- (void) selectItemAtIndex: (int)index
{
NSMenuItem *anItem;
id <NSMenuItem> anItem;
if (index < 0)
anItem = nil;
@ -310,14 +310,14 @@ static NSImage *_pbc_image[2];
- (void) selectItemWithTitle: (NSString *)title
{
NSMenuItem *anItem = [self itemWithTitle: title];
id <NSMenuItem> anItem = [self itemWithTitle: title];
[self selectItem: anItem];
}
- (void) setTitle: (NSString *)aString
{
NSMenuItem *anItem;
id <NSMenuItem> anItem;
if (_pbcFlags.pullsDown)
{