mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
reduce scope of _imageRep from ivar to local to init
This commit is contained in:
parent
f2b79365f4
commit
0b9924e094
2 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,6 @@ APPKIT_EXPORT_CLASS
|
|||
BOOL _showsApplicationBadge;
|
||||
NSString *_badgeLabel;
|
||||
NSImage *_appIconImage;
|
||||
NSImageRep *_imageRep;
|
||||
NSImage *_dockTileImage;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
self = [super init];
|
||||
if (self != nil)
|
||||
{
|
||||
NSImageRep *_imageRep;
|
||||
GSDisplayServer *server = GSCurrentServer();
|
||||
NSSize size = [server iconSize];
|
||||
NSRect rect = NSMakeRect(0, 0, size.width, size.height);
|
||||
|
|
Loading…
Reference in a new issue