diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-02-15 21:09:27 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-02-15 21:09:27 (GMT) |
commit | 41cc9023c9d8ba470b41666d54cfe4db9bbb5020 (patch) | |
tree | c95bfcb0f17783a66f7d2613c8962ecbd1a63748 /generic/tkStubInit.c | |
parent | da13c5e294143c51bdee3d5d9f42c72b1843dc51 (diff) | |
parent | 3db9fce4a20b8969cd5c73671c76dd4918d048f9 (diff) | |
download | tk-41cc9023c9d8ba470b41666d54cfe4db9bbb5020.zip tk-41cc9023c9d8ba470b41666d54cfe4db9bbb5020.tar.gz tk-41cc9023c9d8ba470b41666d54cfe4db9bbb5020.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 2b87360..c62d143 100644 --- a/generic/tkStubInit.c +++ b/generic/tkStubInit.c @@ -44,6 +44,12 @@ MODULE_SCOPE const TkStubs tkStubs; #undef Tk_MainEx +#ifndef __WIN32__ +/* Make sure that extensions which call XParseColor through + * the stub table, call TkParseColor in stead. See bug #3486474 */ +# define XParseColor TkParseColor +#endif + /* !BEGIN!: Do not edit below this line. */ static const TkIntStubs tkIntStubs = { |