Corrects segfault when cutting/pasting NSTableView and it's subclasses.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19604 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-06-23 01:19:08 +00:00
parent 518279a746
commit c09f861b02
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2004-06-22 23:33 Gregory John Casamento <greg_casamento@yahoo.com>
* GormDocument.m: A fix in -[GormDocument pasteType:
fromPasteboard: parent:] to retain objects unarchived
from the pasteboard to prevent a recently discovered
segfault.
2004-06-21 23:33 Gregory John Casamento <greg_casamento@yahoo.com>
* GModelDecoder.m: Added code to openGModel: to more automatically

View file

@ -2229,6 +2229,7 @@ static NSImage *classesImage = nil;
frame.origin.x -= 6;
frame.origin.y -= 6;
[obj setFrame: frame];
RETAIN(obj);
}
}
}