mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-24 04:01:16 +00:00
use isSubclassOfClass
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30158 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
111d1e14a3
commit
6850f506b6
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ static GSWContext * TheTemporaryContext;
|
||||||
GSWComponent * myInstance = nil;
|
GSWComponent * myInstance = nil;
|
||||||
BOOL locked = NO;
|
BOOL locked = NO;
|
||||||
|
|
||||||
if ([myClass isKindOfClass: [GSWComponent class]]) {
|
if ([myClass isSubclassOfClass: [GSWComponent class]]) {
|
||||||
[aContext _setComponentName:_className];
|
[aContext _setComponentName:_className];
|
||||||
}
|
}
|
||||||
[aContext _setTempComponentDefinition:self];
|
[aContext _setTempComponentDefinition:self];
|
||||||
|
|
Loading…
Reference in a new issue