summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authorericm <ericm>2000-08-07 21:49:15 (GMT)
committerericm <ericm>2000-08-07 21:49:15 (GMT)
commitf8f2b7eabba7d0eb1f588b09bbc9c4c0521f21ef (patch)
treea551a35deb26a51e03dd25d179cef33971158fcf /generic/tkWindow.c
parent123abb82c44a1c5eaaa8c21cf24b24f251077a48 (diff)
downloadtk-f8f2b7eabba7d0eb1f588b09bbc9c4c0521f21ef.zip
tk-f8f2b7eabba7d0eb1f588b09bbc9c4c0521f21ef.tar.gz
tk-f8f2b7eabba7d0eb1f588b09bbc9c4c0521f21ef.tar.bz2
* generic/tkWindow.c: Updated [selection] command entry to use
new Tcl_Obj interface. * generic/tkInt.h: Replaced Tk_SelectionCmd prototype with Tk_SelectionObjCmd prototype. * tests/select.test: Updated test suite to recognize standardized error messages. * generic/tkSelect.c (Tk_SelectionObjCmd): Tcl_Obj'ified [selection] 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 8b41f05..8c96940 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.23 2000/08/04 00:46:33 ericm Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.24 2000/08/07 21:49:16 ericm Exp $
*/
#include "tkPort.h"
@@ -113,7 +113,7 @@ static TkCmd commands[] = {
{"pack", Tk_PackCmd, NULL, 1, 1},
{"place", Tk_PlaceCmd, NULL, 1, 1},
{"raise", NULL, Tk_RaiseObjCmd, 1, 1},
- {"selection", Tk_SelectionCmd, NULL, 0, 1},
+ {"selection", NULL, Tk_SelectionObjCmd, 0, 1},
{"tk", NULL, Tk_TkObjCmd, 0, 1},
{"tkwait", NULL, Tk_TkwaitObjCmd, 1, 1},
#if defined(__WIN32__) || defined(MAC_TCL)