mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Fix build with gcc.
Sorry! git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31553 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
46d64c5822
commit
71783836f1
2 changed files with 4 additions and 3 deletions
|
@ -406,7 +406,8 @@ static BOOL restoreMouseMoved;
|
|||
{
|
||||
NSUInteger idx = 0;
|
||||
NSMutableIndexSet *indexes = [NSMutableIndexSet new];
|
||||
FOR_IN(GSTrackingRect*, rect, ((NSViewPtr)view)->_tracking_rects)
|
||||
id tracking_rects = ((NSViewPtr)view)->_tracking_rects;
|
||||
FOR_IN(GSTrackingRect*, rect, tracking_rects)
|
||||
if ((rect->owner == self) && NSContainsRect(aRect, rect->rectangle))
|
||||
{
|
||||
RELEASE((GSTTProvider*)rect->user_data);
|
||||
|
@ -415,7 +416,7 @@ static BOOL restoreMouseMoved;
|
|||
[rect invalidate];
|
||||
}
|
||||
idx++;
|
||||
END_FOR_IN(((NSViewPtr)view)->_tracking_rects)
|
||||
END_FOR_IN(tracking_rects)
|
||||
[((NSViewPtr)view)->_tracking_rects removeObjectsAtIndexes: indexes];
|
||||
if ([((NSViewPtr)view)->_tracking_rects count] == 0)
|
||||
{
|
||||
|
|
|
@ -3903,7 +3903,7 @@ Figure out how the additional layout stuff is supposed to work.
|
|||
atIndex: startIndex
|
||||
effectiveRange: NULL];
|
||||
}
|
||||
END_FOR_IN(((NSViewPtr)view)->_tracking_rects)
|
||||
END_FOR_IN(_tracking_rects)
|
||||
return nil;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue