mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 05:40:48 +00:00
return value for NSMenu itemAtIndex change from
id<NSMenuItem> to NSMenuitem* as it is done by Apple too fixes warnings in NSApplication.m and NSTextView.m OK Fred Kiefer git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38568 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2341d42431
commit
e38458a7ba
3 changed files with 7 additions and 2 deletions
|
@ -894,7 +894,7 @@ static BOOL menuBarVisible = YES;
|
|||
return nil;
|
||||
}
|
||||
|
||||
- (id <NSMenuItem>) itemAtIndex: (NSInteger)index
|
||||
- (NSMenuItem *) itemAtIndex: (NSInteger)index
|
||||
{
|
||||
if (index >= [_items count] || index < 0)
|
||||
[NSException raise: NSRangeException
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue