release the gstate when invalidating coords

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9591 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2001-04-16 03:18:04 +00:00
parent af00a6311e
commit d36bd1251f
2 changed files with 7 additions and 1 deletions

View file

@ -1294,7 +1294,6 @@ GSSetDragTypes(NSView* obj, NSArray *types)
if (_allocate_gstate && _gstate)
PSundefineuserobject(_gstate);
_gstate = 0;
_allocate_gstate = 0;
}
- (int) gState
@ -2769,6 +2768,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
}
}
}
[self releaseGState];
}
}