mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 22:06:42 +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
6e9450447c
commit
6ca94e29a7
2 changed files with 7 additions and 2 deletions
|
@ -72,7 +72,7 @@ NSGraphicsContext *GSCurrentContext()
|
|||
|
||||
return (NSGraphicsContext*) th->_gcontext;
|
||||
#else
|
||||
NSMutableDictionary *dict [[NSThread currentThread] threadDictionary];
|
||||
NSMutableDictionary *dict = [[NSThread currentThread] threadDictionary];
|
||||
|
||||
return (NSGraphicsContext*) [dict objectForKey: NSGraphicsContextThreadKey];
|
||||
#endif
|
||||
|
@ -135,7 +135,7 @@ struct NSWindow_struct
|
|||
|
||||
th->_gcontext = context;
|
||||
#else
|
||||
NSMutableDictionary *dict [[NSThread currentThread] threadDictionary];
|
||||
NSMutableDictionary *dict = [[NSThread currentThread] threadDictionary];
|
||||
|
||||
[dict setObject: context forKey: NSGraphicsContextThreadKey];
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue