* 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

@ -1,3 +1,10 @@
2021-12-26 Fred Kiefer <FredKiefer@gmx.de>
* 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.
2021-11-15 Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSSplitView.m: Correct issue introduced in the previous change
@ -30,7 +37,7 @@
* Source/NSTextField.m
* Source/NSTextView.m
* Source/NSWindowController.m: Remaining improvements and stability
changes contributed by testplant.
changes contributed by testplant.
2021-10-27 Gregory John Casamento <greg.casamento@gmail.com>

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;
}

View file

@ -1524,7 +1524,7 @@ static inline NSPoint centerSizeInRect(NSSize innerSize, NSRect outerRect)
}
else
{
int barWidth = 0;
NSInteger barWidth = 0;
decode_NSInteger(aDecoder, &barWidth);
_draggedBarWidth = (CGFloat)barWidth;