mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
hidewindow
methods was renamed to hideApplication
.
This commit is contained in:
parent
f5bcf3019b
commit
b5e65175a3
4 changed files with 10 additions and 4 deletions
|
@ -1,6 +1,12 @@
|
|||
2019-04-06 Sergii Stoian <stoyan255@ukr.net>
|
||||
|
||||
* Source/NSApplication.m (hide:): Change comment before call to `hidwindow`.
|
||||
* Headers/Additions/GNUstepGUI/GSDisplayServer.h,
|
||||
* Source/NSApplication.m,
|
||||
* Source/GSDisplayServer.m: `hidewindow` method was renamed to
|
||||
`hideApplication`
|
||||
|
||||
* Source/NSApplication.m (hide:): Change comment before call to
|
||||
`hidewindow`.
|
||||
|
||||
* Source/GSDisplayServer.m (hidewindow:): fixes to return value and type.
|
||||
Change comment.
|
||||
|
|
|
@ -136,7 +136,7 @@ APPKIT_EXPORT NSString *GSScreenNumber;
|
|||
- (void) windowbacking: (NSBackingStoreType)type : (int)win;
|
||||
- (void) titlewindow: (NSString *)window_title : (int)win;
|
||||
- (void) miniwindow: (int)win;
|
||||
- (BOOL) hidewindow: (int)win;
|
||||
- (BOOL) hideApplication: (int)win;
|
||||
- (BOOL) appOwnsMiniwindow;
|
||||
- (void) setWindowdevice: (int)win forContext: (NSGraphicsContext *)ctxt;
|
||||
// Deprecated
|
||||
|
|
|
@ -603,7 +603,7 @@ GSCurrentServer(void)
|
|||
|
||||
/** Ask the window manager to hide all the application windows for us.
|
||||
Return whether they have been hidden. */
|
||||
- (BOOL) hidewindow: (int) win
|
||||
- (BOOL) hideApplication: (int) win
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
|
|
@ -2499,7 +2499,7 @@ image.</p><p>See Also: -applicationIconImage</p>
|
|||
/** Ask the window manager to hide all the application windows for us.
|
||||
Return whether they have been hidden. */
|
||||
win = [[self mainMenu] window];
|
||||
if ([GSServerForWindow(win) hidewindow: [win windowNumber]] == NO)
|
||||
if ([GSServerForWindow(win) hideApplication: [win windowNumber]] == NO)
|
||||
{
|
||||
windows_list = GSOrderedWindows();
|
||||
iter = [windows_list reverseObjectEnumerator];
|
||||
|
|
Loading…
Reference in a new issue