Added patch from Andreas.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@16961 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2003-06-20 03:54:19 +00:00
parent 05719bda90
commit 904f61cf9b
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2003-05-19 Gregory John Casamento <greg_casamento@yahoo.com>
* GormDocument.m: Moved declaration of GSNibItem in instantiateClass:
to the top of the method so that it will compile on gcc < 3.0.
Problem found and patch submitted by Andreas Heppel. Thanks!
2003-06-09 Gregory John Casamento <greg_casamento@yahoo.com>
* GNUmakefile: Added mention of GormFontViewController.[hm]

View file

@ -1816,13 +1816,13 @@ static NSImage *classesImage = nil;
if (i >= 0)
{
id className = [classesView itemAtRow: i];
GSNibItem *item = nil;
if([className isEqualToString: @"FirstResponder"])
return nil;
GSNibItem *item =
[[GormObjectProxy alloc] initWithClassName: className
frame: NSMakeRect(0,0,0,0)];
item = [[GormObjectProxy alloc] initWithClassName: className
frame: NSMakeRect(0,0,0,0)];
[self setName: nil forObject: item];
[self attachObject: item toParent: nil];