diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-09-27 19:57:12 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-09-27 19:57:12 (GMT) |
commit | 8f322a9a76167ba73176eeee528dd5949d3a8d27 (patch) | |
tree | c1226b3271372ba38cba54f9eee61a54cb14cab6 /generic/tkInt.h | |
parent | fef719c8b25c20a5813df46568b14d73f4670dbf (diff) | |
parent | 091178b345c21c048afcb7883ad35a1f86134a8d (diff) | |
download | tk-8f322a9a76167ba73176eeee528dd5949d3a8d27.zip tk-8f322a9a76167ba73176eeee528dd5949d3a8d27.tar.gz tk-8f322a9a76167ba73176eeee528dd5949d3a8d27.tar.bz2 |
Only use one of XPutImage/TkPutImage, dependant on platform. Both are present in stub table, for backwards compatibility
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r-- | generic/tkInt.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h index 82dc1b3..953491d 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.h @@ -1330,11 +1330,6 @@ MODULE_SCOPE void TkRotatePoint(double originX, double originY, double sine, double cosine, double *xPtr, double *yPtr); -#if !defined(_WIN32) && !defined(__CYGWIN__) /* UNIX and MacOSX */ -#undef TkPutImage -#define TkPutImage(colors, ncolors, display, pixels, gc, image, srcx, srcy, destx, desty, width, height) \ - XPutImage(display, pixels, gc, image, srcx, srcy, destx, desty, width, height); -#endif #ifdef _WIN32 #define TkParseColor XParseColor #else |