summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixMenu.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-05-10 20:58:18 (GMT)
committernijtmans <nijtmans>2010-05-10 20:58:18 (GMT)
commit44d12a1d5aa9b0103f0c3bea1ed81b59d4d383d1 (patch)
treebce5a861d5ca4dc8dc07981e0771a8076681957e /unix/tkUnixMenu.c
parent2e06ee1ffbe3d942b788eb71313d236ce5c412d6 (diff)
downloadtk-44d12a1d5aa9b0103f0c3bea1ed81b59d4d383d1.zip
tk-44d12a1d5aa9b0103f0c3bea1ed81b59d4d383d1.tar.gz
tk-44d12a1d5aa9b0103f0c3bea1ed81b59d4d383d1.tar.bz2
CONSTify TkCopyAndGlobalEval, TkpSetMainMenubar,
TkpMenuNotifyToplevelCreate, and TkSetWindowMenuBar Bring Tk_CreateBinding doc and signature (param name) in line.
Diffstat (limited to 'unix/tkUnixMenu.c')
-rw-r--r--unix/tkUnixMenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tkUnixMenu.c b/unix/tkUnixMenu.c
index f7611d2..a585859 100644
--- a/unix/tkUnixMenu.c
+++ b/unix/tkUnixMenu.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixMenu.c,v 1.24 2010/01/09 00:48:36 patthoyts Exp $
+ * RCS: @(#) $Id: tkUnixMenu.c,v 1.25 2010/05/10 20:58:19 nijtmans Exp $
*/
#include "default.h"
@@ -296,7 +296,7 @@ void
TkpSetMainMenubar(
Tcl_Interp *interp,
Tk_Window tkwin,
- char *menuName)
+ const char *menuName)
{
/*
* Nothing to do.
@@ -1760,7 +1760,7 @@ TkpComputeStandardMenuGeometry(
void
TkpMenuNotifyToplevelCreate(
Tcl_Interp *interp, /* The interp the menu lives in. */
- char *menuName) /* The name of the menu to reconfigure. */
+ const char *menuName) /* The name of the menu to reconfigure. */
{
/*
* Nothing to do.