diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-02-12 17:46:18 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-02-12 17:46:18 (GMT) |
commit | d51ac32dd61c871b05bea14dc748b896e4568496 (patch) | |
tree | 675f802aa0010722ed2fbc3f0bacb0c804c37bfc /generic/tkStubInit.c | |
parent | da7d1256109f28cee724aca78b4ca37c6202037c (diff) | |
download | tk-d51ac32dd61c871b05bea14dc748b896e4568496.zip tk-d51ac32dd61c871b05bea14dc748b896e4568496.tar.gz tk-d51ac32dd61c871b05bea14dc748b896e4568496.tar.bz2 |
improved, faster implementations of XParseColor and TkParseColor
FossilOrigin-Name: acbeaf88e1a8db42cf869b5128c3bd32be31f5f8
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 6df1f2d..a82e044 100644 --- a/generic/tkStubInit.c +++ b/generic/tkStubInit.c @@ -46,6 +46,12 @@ #define Tk_GetCanvasVisitor ((VOID * (*) _ANSI_ARGS_((Tcl_Interp * interp, \ CONST char * name))) NULL) +#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 |