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:
buzzdee 2015-05-26 17:11:17 +00:00
parent 2341d42431
commit e38458a7ba
3 changed files with 7 additions and 2 deletions

View file

@ -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