mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 20:40:47 +00:00
Config/make fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4353 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7180ff91be
commit
986380a33f
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
1999-06-03 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSGraphicsContext.m (GSCurrentContext): Insert = (patch
|
||||||
|
from John BEPPU <beppu@taurus.oac.uci.edu>).
|
||||||
|
|
||||||
Thu Jun 3 9:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
Thu Jun 3 9:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||||
|
|
||||||
* Source/NSWorkspace.m: Updated app launching code to supply info
|
* Source/NSWorkspace.m: Updated app launching code to supply info
|
||||||
|
|
|
@ -72,7 +72,7 @@ NSGraphicsContext *GSCurrentContext()
|
||||||
|
|
||||||
return (NSGraphicsContext*) th->_gcontext;
|
return (NSGraphicsContext*) th->_gcontext;
|
||||||
#else
|
#else
|
||||||
NSMutableDictionary *dict [[NSThread currentThread] threadDictionary];
|
NSMutableDictionary *dict = [[NSThread currentThread] threadDictionary];
|
||||||
|
|
||||||
return (NSGraphicsContext*) [dict objectForKey: NSGraphicsContextThreadKey];
|
return (NSGraphicsContext*) [dict objectForKey: NSGraphicsContextThreadKey];
|
||||||
#endif
|
#endif
|
||||||
|
@ -135,7 +135,7 @@ struct NSWindow_struct
|
||||||
|
|
||||||
th->_gcontext = context;
|
th->_gcontext = context;
|
||||||
#else
|
#else
|
||||||
NSMutableDictionary *dict [[NSThread currentThread] threadDictionary];
|
NSMutableDictionary *dict = [[NSThread currentThread] threadDictionary];
|
||||||
|
|
||||||
[dict setObject: context forKey: NSGraphicsContextThreadKey];
|
[dict setObject: context forKey: NSGraphicsContextThreadKey];
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue