mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
(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:
parent
4e85384a96
commit
4afc950070
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue