mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Remove uneeded calls to orderOut: and setDelegate: as this is done in the close method
This commit is contained in:
parent
a4beb1266f
commit
2ac57c147f
1 changed files with 1 additions and 4 deletions
|
@ -88,6 +88,7 @@
|
|||
{
|
||||
[super setContentView: AUTORELEASE([[GSPopoverView alloc]
|
||||
initWithFrame: contentRect])];
|
||||
[self setReleasedWhenClosed: YES];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
@ -231,16 +232,12 @@
|
|||
- (void) close
|
||||
{
|
||||
[_realPanel close];
|
||||
[_realPanel setDelegate:nil];
|
||||
[_realPanel orderOut: nil];
|
||||
_shown = NO;
|
||||
}
|
||||
|
||||
- (IBAction) performClose: (id)sender
|
||||
{
|
||||
[_realPanel performClose: sender];
|
||||
[_realPanel setDelegate: nil];
|
||||
[_realPanel orderOut: nil];
|
||||
_shown = NO;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue