diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-02-15 20:57:48 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-02-15 20:57:48 (GMT) |
commit | 3db9fce4a20b8969cd5c73671c76dd4918d048f9 (patch) | |
tree | b69a457a0eaaa41f3bf3c89239cd80372fd4b53e /generic/tkStubInit.c | |
parent | 751529e39515a7968bd597326de78c0f9f220f44 (diff) | |
parent | 05750b46ee02ad06be61476b42f8a1a8d8a87597 (diff) | |
download | tk-3db9fce4a20b8969cd5c73671c76dd4918d048f9.zip tk-3db9fce4a20b8969cd5c73671c76dd4918d048f9.tar.gz tk-3db9fce4a20b8969cd5c73671c76dd4918d048f9.tar.bz2 |
[Bug 3486474]: Inconsistent color scaling
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r-- | generic/tkStubInit.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c index 9c154e8..170ada7 100644 --- a/generic/tkStubInit.c +++ b/generic/tkStubInit.c @@ -45,6 +45,12 @@ MODULE_SCOPE TkIntXlibStubs tkIntXlibStubs; MODULE_SCOPE TkPlatStubs tkPlatStubs; MODULE_SCOPE TkStubs tkStubs; +#ifndef __WIN32__ +/* Make sure that extensions which call XParseColor through + * the stub table, call TkParseColor in stead. See bug #3486474 */ +# define XParseColor TkParseColor +#endif + /* * WARNING: The contents of this file is automatically generated by the * tools/genStubs.tcl script. Any modifications to the function declarations |