diff options
author | dgp@users.sourceforge.net <dgp> | 2007-09-17 14:58:03 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2007-09-17 14:58:03 (GMT) |
commit | ce289d82cc97ce83141dca5282abd9d3858223fb (patch) | |
tree | 92740e87730997e6b8a2ab7f1db5d6bb6b55a361 /generic/tkConsole.c | |
parent | 460e08b80950a25757772e3623e8c0f514a28475 (diff) | |
download | tk-ce289d82cc97ce83141dca5282abd9d3858223fb.zip tk-ce289d82cc97ce83141dca5282abd9d3858223fb.tar.gz tk-ce289d82cc97ce83141dca5282abd9d3858223fb.tar.bz2 |
* generic/tkConsole.c: Revised callers of Tcl_InitStubs() to account
* generic/tkMain.c: for restored compatible support for the call
* generic/tkWindow.c: Tcl_InitStubs(interp, TCL_VERSION, 1). Also
revised Tcl_PkgRequire() call for Tcl so that, for example, a Tk
library built against Tcl 8.5.1 headers will not refuse to [load]
into a Tcl 8.5.0 interpreter. [Tcl Bug 1578344].
* generic/tk.h: Revised Tk_InitStubs() to restore Tk 8.4
* generic/tkStubLib.c: source compatibility with callers of
* generic/tkWindow.c: Tk_InitStubs(interp, TK_VERSION, 1).
Diffstat (limited to 'generic/tkConsole.c')
-rw-r--r-- | generic/tkConsole.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkConsole.c b/generic/tkConsole.c index f5969ee..94ee6cb 100644 --- a/generic/tkConsole.c +++ b/generic/tkConsole.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkConsole.c,v 1.33 2007/09/11 17:46:41 dgp Exp $ + * RCS: @(#) $Id: tkConsole.c,v 1.34 2007/09/17 14:58:04 dgp Exp $ */ #include "tk.h" @@ -233,7 +233,7 @@ Tk_InitConsoleChannels( * only an issue when Tk is loaded dynamically. */ - if (Tcl_InitStubs(interp, TCL_PATCH_LEVEL, 0) == NULL) { + if (Tcl_InitStubs(interp, TCL_VERSION, 1) == NULL) { return; } |