mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 23:50:47 +00:00
Remove direct usage of isa.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32248 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7aac32819c
commit
6d94be87c6
7 changed files with 44 additions and 35 deletions
|
@ -234,7 +234,7 @@ static NSMutableArray *screenArray = nil;
|
|||
{
|
||||
if (anObject == self)
|
||||
return YES;
|
||||
if ([anObject isKindOfClass: self->isa] == NO)
|
||||
if ([anObject isKindOfClass: [self class]] == NO)
|
||||
return NO;
|
||||
if (_screenNumber == ((NSScreen *)anObject)->_screenNumber)
|
||||
return YES;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue