mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Remove _icon to fix link error
This commit is contained in:
parent
b2af7ab062
commit
b6b4975aae
1 changed files with 4 additions and 1 deletions
|
@ -39,11 +39,12 @@
|
|||
|
||||
- (void) setIcon: (NSImage*)icon
|
||||
{
|
||||
ASSIGN(_icon, icon);
|
||||
// ASSIGN(_icon, icon);
|
||||
}
|
||||
|
||||
- (NSImage*) icon
|
||||
{
|
||||
/*
|
||||
if (_icon == nil && [self filename])
|
||||
{
|
||||
return [[NSWorkspace sharedWorkspace] iconForFile: [self filename]];
|
||||
|
@ -52,6 +53,8 @@
|
|||
{
|
||||
return (NSImage *)_icon;
|
||||
}
|
||||
*/
|
||||
return nil;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue