mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Corrected crash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19899 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b4c616e860
commit
fc97b591db
3 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-08-21 00:20 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Palettes/1Windows/GormNSPanel.m:
|
||||
* Palettes/1Windows/GormNSWindow.m: Added code to prevent
|
||||
redundant release and subsequent crash.
|
||||
|
||||
2004-08-18 00:20 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormClassEditor.m: Cleaned up some code.
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
screen: (NSScreen*)aScreen
|
||||
{
|
||||
_gormStyleMask = aStyle;
|
||||
[self setReleasedWhenClosed: NO];
|
||||
return [super initWithContentRect: contentRect
|
||||
styleMask: NSTitledWindowMask | NSClosableWindowMask | NSResizableWindowMask
|
||||
backing: bufferingType
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
screen: (NSScreen*)aScreen
|
||||
{
|
||||
_gormStyleMask = aStyle;
|
||||
[self setReleasedWhenClosed: NO];
|
||||
return [super initWithContentRect: contentRect
|
||||
styleMask: NSTitledWindowMask | NSClosableWindowMask
|
||||
| NSResizableWindowMask | NSMiniaturizableWindowMask
|
||||
|
|
Loading…
Reference in a new issue