mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 13:10:52 +00:00
Add comments to releaseGState
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9592 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7d43bc3311
commit
b2937b7086
1 changed files with 3 additions and 0 deletions
|
@ -1294,6 +1294,9 @@ GSSetDragTypes(NSView* obj, NSArray *types)
|
|||
if (_allocate_gstate && _gstate)
|
||||
PSundefineuserobject(_gstate);
|
||||
_gstate = 0;
|
||||
/* Note that the next time we lock focus, we'll realloc a gstate (if
|
||||
_allocate_gstate). This seems to make sense, and also allows us
|
||||
to call this method each time we invalidate the coordinates */
|
||||
}
|
||||
|
||||
- (int) gState
|
||||
|
|
Loading…
Reference in a new issue