summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authorericm <ericm>2000-08-08 19:21:18 (GMT)
committerericm <ericm>2000-08-08 19:21:18 (GMT)
commit33dfdb962c35a1f9a9c1b61e10ab8bd93b1704b6 (patch)
tree2a6d14dee1938780ae6220656dce380c37b42e99 /generic/tkWindow.c
parentd6e970588203e0065e68d0d64c1bf8ebadc8397c (diff)
downloadtk-33dfdb962c35a1f9a9c1b61e10ab8bd93b1704b6.zip
tk-33dfdb962c35a1f9a9c1b61e10ab8bd93b1704b6.tar.gz
tk-33dfdb962c35a1f9a9c1b61e10ab8bd93b1704b6.tar.bz2
* tests/place.test: Extended test suite to test error returns from
[place]. * generic/tkInt.h: Replaced Tk_PlaceCmd prototype with Tk_PlaceObjCmd prototype. * generic/tkWindow.c: Updated [place] command entry to use new Tcl_Obj interface. * generic/tkPlace.c (Tk_PlaceObjCmd): Tcl_Obj'ified [place] command.
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 8c96940..09b24c5 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.24 2000/08/07 21:49:16 ericm Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.25 2000/08/08 19:21:20 ericm Exp $
*/
#include "tkPort.h"
@@ -111,7 +111,7 @@ static TkCmd commands[] = {
{"lower", NULL, Tk_LowerObjCmd, 1, 1},
{"option", NULL, Tk_OptionObjCmd, 1, 1},
{"pack", Tk_PackCmd, NULL, 1, 1},
- {"place", Tk_PlaceCmd, NULL, 1, 1},
+ {"place", NULL, Tk_PlaceObjCmd, 1, 0},
{"raise", NULL, Tk_RaiseObjCmd, 1, 1},
{"selection", NULL, Tk_SelectionObjCmd, 0, 1},
{"tk", NULL, Tk_TkObjCmd, 0, 1},