mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:10:38 +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
d36bd1251f
commit
d03a6be506
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…
Add table
Add a link
Reference in a new issue