diff options
author | dgp <dgp@noemail.net> | 2002-01-25 21:09:35 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2002-01-25 21:09:35 (GMT) |
commit | 2662a3d30282b46108055b6087a7235df796d58e (patch) | |
tree | 2041d0c0de9f76a800e1af4c067e78376fbdd570 /win/tkWinWm.c | |
parent | 00a5c8508adb8715e08eb3a265d58206e7ee3f2d (diff) | |
download | tk-2662a3d30282b46108055b6087a7235df796d58e.zip tk-2662a3d30282b46108055b6087a7235df796d58e.tar.gz tk-2662a3d30282b46108055b6087a7235df796d58e.tar.bz2 |
* Updated callers of Tcl_SplitList and Tcl_Merge.
* Updated callers of Tcl_GetStringResult.
Rewrote PrintScrollFractions to ScrollFractions to stop scribbling
directly on interp->result.
* Updated callers of Tcl_GetVar, Tcl_GetVar2
* Updated callers of Tcl_SplitPath, Tcl_JoinPath, and
Tcl_TranslateFileName.
FossilOrigin-Name: 933dcfe881579bb3925ff2a05e925a0bd8d67087
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r-- | win/tkWinWm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c index cab514f..e68e177 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.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: tkWinWm.c,v 1.33 2001/12/28 23:44:19 hobbs Exp $ + * RCS: @(#) $Id: tkWinWm.c,v 1.34 2002/01/25 21:09:37 dgp Exp $ */ #include "tkWinInt.h" @@ -240,7 +240,7 @@ typedef struct TkWmInfo { ProtocolHandler *protPtr; /* First in list of protocol handlers for * this window (NULL means none). */ int cmdArgc; /* Number of elements in cmdArgv below. */ - char **cmdArgv; /* Array of strings to store in the + CONST char **cmdArgv; /* Array of strings to store in the * WM_COMMAND property. NULL means nothing * available. */ char *clientMachine; /* String to store in WM_CLIENT_MACHINE @@ -2209,7 +2209,7 @@ Tk_WmCmd(clientData, interp, argc, argv) TkWindow **cmapList; TkWindow *winPtr2; int i, windowArgc, gotToplevel; - char **windowArgv; + CONST char **windowArgv; if ((argc != 3) && (argc != 4)) { Tcl_AppendResult(interp, "wrong # arguments: must be \"", @@ -2278,7 +2278,7 @@ Tk_WmCmd(clientData, interp, argc, argv) } else if ((c == 'c') && (strncmp(argv[1], "command", length) == 0) && (length >= 3)) { int cmdArgc; - char **cmdArgv; + CONST char **cmdArgv; if ((argc != 3) && (argc != 4)) { Tcl_AppendResult(interp, "wrong # arguments: must be \"", |