diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-08-08 07:23:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-08-08 07:23:18 (GMT) |
commit | 4ffe7c28ee0ab1fa2d8b5d9b38e7e2edde3e4c05 (patch) | |
tree | 359b631c47633e5b071ef0d26465d56d36e7eb3d /generic/tkDecls.h | |
parent | fca3a144c468de939dced0bcbf211b4228efaec2 (diff) | |
download | tk-4ffe7c28ee0ab1fa2d8b5d9b38e7e2edde3e4c05.zip tk-4ffe7c28ee0ab1fa2d8b5d9b38e7e2edde3e4c05.tar.gz tk-4ffe7c28ee0ab1fa2d8b5d9b38e7e2edde3e4c05.tar.bz2 |
Change flag NEW_STYLE_COMMANDS into OLD_STYLE_COMMANDS. This makes it easier to remove the deprecated part in the future.
If building with Tcl > 8, Don't build the compatibility Tk_Photo* (From Tk < 8.4 or so) functions any more.
Diffstat (limited to 'generic/tkDecls.h')
-rw-r--r-- | generic/tkDecls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkDecls.h b/generic/tkDecls.h index 2e498af..c265fb8 100644 --- a/generic/tkDecls.h +++ b/generic/tkDecls.h @@ -1751,7 +1751,7 @@ extern const TkStubs *tkStubsPtr; #endif -#ifdef TK_NO_DEPRECATED +#if defined(TK_NO_DEPRECATED) || TCL_MAJOR_VERSION > 8 #undef Tk_PhotoPutBlock_NoComposite #undef Tk_PhotoPutZoomedBlock_NoComposite #undef Tk_PhotoExpand_Panic |