summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-09-02 19:16:23 (GMT)
committerhobbs <hobbs>2002-09-02 19:16:23 (GMT)
commit0d02b5679eab39cae732f7ff18838de80de1affd (patch)
tree57a4ac634f6f7502add4d42adfdda01e1f07236f /generic/tkWindow.c
parentc61554d78aab623bdfd1b7e78550578f2bb71866 (diff)
downloadtk-0d02b5679eab39cae732f7ff18838de80de1affd.zip
tk-0d02b5679eab39cae732f7ff18838de80de1affd.tar.gz
tk-0d02b5679eab39cae732f7ff18838de80de1affd.tar.bz2
* generic/tkCmds.c:
* generic/tkWindow.c: made 'tk' available in safe interpreters, but only the caret and windowingsystem subcommands may be called. * tests/safe.test (safe-1.2): noted that tk is now available in safe interps, but not the appname/scaling subcommands.
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index a69c681..d358cbf 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWindow.c,v 1.53 2002/08/31 06:12:28 das Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.54 2002/09/02 19:16:23 hobbs Exp $
*/
#include "tkPort.h"
@@ -114,7 +114,7 @@ static TkCmd commands[] = {
{"place", NULL, Tk_PlaceObjCmd, 1, 0},
{"raise", NULL, Tk_RaiseObjCmd, 1, 1},
{"selection", NULL, Tk_SelectionObjCmd, 0, 1},
- {"tk", NULL, Tk_TkObjCmd, 0, 1},
+ {"tk", NULL, Tk_TkObjCmd, 1, 1},
{"tkwait", NULL, Tk_TkwaitObjCmd, 1, 1},
#if defined(__WIN32__) || defined(MAC_TCL) || defined(MAC_OSX_TK)
{"tk_chooseColor", NULL, Tk_ChooseColorObjCmd, 0, 1},