mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Fix for bug 12825 - omit icon window from returned windows list
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40385 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b3ac8d4ac6
commit
246b0f75fa
1 changed files with 4 additions and 1 deletions
|
@ -2763,7 +2763,10 @@ image.</p><p>See Also: -applicationIconImage</p>
|
|||
*/
|
||||
- (NSArray*) windows
|
||||
{
|
||||
return GSAllWindows();
|
||||
// Omit the app icon window
|
||||
NSMutableArray *windows = AUTORELEASE([GSAllWindows() mutableCopy]);
|
||||
[windows removeObject: [self iconWindow]];
|
||||
return windows;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue