mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:20:49 +00:00
Make sure NSApplicationIcon is always a registered image
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15560 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d295f6c0f0
commit
a1e98f89dd
2 changed files with 11 additions and 2 deletions
|
@ -2456,7 +2456,9 @@ delegate.
|
|||
NSAppIconView *iv;
|
||||
|
||||
if (_app_icon == nil)
|
||||
_app_icon = RETAIN([NSImage imageNamed: @"GNUstep"]);
|
||||
{
|
||||
[self setApplicationIconImage: [NSImage imageNamed: @"GNUstep"]];
|
||||
}
|
||||
|
||||
_app_icon_window = [[NSIconWindow alloc] initWithContentRect:
|
||||
NSMakeRect(0,0,64,64)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue