mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:10:38 +00:00
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:
parent
af00a6311e
commit
d36bd1251f
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2001-04-15 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSView.m (_invalidateCoordinates): release the gstate.
|
||||
(-releaseGState): Don't reset _allocate_gstate flag.
|
||||
(modified patch from Georg Fleischmann <georg@vhf.de>).
|
||||
|
||||
2001-04-14 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSImage.m ([NSImage -compositeToPoint:fromRect:operation:]):
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue