* Source/NSMenu.m: Rename method on NSMenuPanel for the Wayland

backend to -_menu to keep it apart from the already existing method
-menu on NSResponder.
* Source/NSSplitView.m: Correct decoded integer type.
This commit is contained in:
Fred Kiefer 2021-12-26 14:50:50 +01:00
parent 77202f52e1
commit 4ad217d5c3
3 changed files with 11 additions and 4 deletions

View file

@ -121,7 +121,7 @@
NSMenu *_the_menu;
}
- (void) _setmenu: (NSMenu *)menu;
- (NSMenu *) menu;
- (NSMenu *) _menu;
@end
@interface NSMenuView (GNUstepPrivate)
@ -156,7 +156,7 @@ static BOOL menuBarVisible = YES;
{
_the_menu = menu;
}
- (NSMenu *) menu
- (NSMenu *) _menu
{
return _the_menu;
}