summaryrefslogtreecommitdiffstats
path: root/generic/tkStubInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-15 20:33:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-15 20:33:58 (GMT)
commit05750b46ee02ad06be61476b42f8a1a8d8a87597 (patch)
tree31fe161db5699e5d076d9a6dbf02882e9db7aad0 /generic/tkStubInit.c
parentd0aa23eb9005cbc9b4e706ab70b5082be80bad35 (diff)
parent505d8dc8bc999b995961dbd32c518620d843bdfe (diff)
downloadtk-05750b46ee02ad06be61476b42f8a1a8d8a87597.zip
tk-05750b46ee02ad06be61476b42f8a1a8d8a87597.tar.gz
tk-05750b46ee02ad06be61476b42f8a1a8d8a87597.tar.bz2
[Bug 3486474]: Inconsistent color scaling
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r--generic/tkStubInit.c6
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