summaryrefslogtreecommitdiffstats
path: root/generic/tkPack.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2008-10-28 22:33:05 (GMT)
committernijtmans <nijtmans@noemail.net>2008-10-28 22:33:05 (GMT)
commit429044eb9cfe4dab536e8126a6c15b2b85ddc244 (patch)
treecf99f99a21277e0bc21da965946d8e129c1a5814 /generic/tkPack.c
parentdde101683cb30c17c79ba2ee2dda18647c7cd1c8 (diff)
downloadtk-429044eb9cfe4dab536e8126a6c15b2b85ddc244.zip
tk-429044eb9cfe4dab536e8126a6c15b2b85ddc244.tar.gz
tk-429044eb9cfe4dab536e8126a6c15b2b85ddc244.tar.bz2
CONSTify TkPrintPadAmount, TkCreateFrame, TkCreateMainWindow
and Tk_ParseArgv. move TkSelGetSelection to internal stub table (needed in tkWinTest.c) FossilOrigin-Name: 17c2598fc31e8f5a5ad87a7e318c7f069e149dc5
Diffstat (limited to 'generic/tkPack.c')
-rw-r--r--generic/tkPack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkPack.c b/generic/tkPack.c
index d7e192e..42fe12b 100644
--- a/generic/tkPack.c
+++ b/generic/tkPack.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: tkPack.c,v 1.29 2008/10/17 23:18:37 nijtmans Exp $
+ * RCS: @(#) $Id: tkPack.c,v 1.30 2008/10/28 22:33:06 nijtmans Exp $
*/
#include "tkInt.h"
@@ -151,7 +151,7 @@ void
TkPrintPadAmount(
Tcl_Interp *interp, /* The interpreter into which the result is
* written. */
- char *switchName, /* One of "padx", "pady", "ipadx" or "ipady" */
+ const char *switchName, /* One of "padx", "pady", "ipadx" or "ipady" */
int halfSpace, /* The left or top padding amount */
int allSpace) /* The total amount of padding */
{