summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.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 /generic/tkMenu.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 'generic/tkMenu.c')
-rw-r--r--generic/tkMenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c
index f044370..9b2b4e3 100644
--- a/generic/tkMenu.c
+++ b/generic/tkMenu.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: tkMenu.c,v 1.59 2010/02/17 20:58:32 jenglish Exp $
+ * RCS: @(#) $Id: tkMenu.c,v 1.60 2010/05/10 20:58:18 nijtmans Exp $
*/
/*
@@ -3164,10 +3164,10 @@ void
TkSetWindowMenuBar(
Tcl_Interp *interp, /* The interpreter the toplevel lives in. */
Tk_Window tkwin, /* The toplevel window. */
- char *oldMenuName, /* The name of the menubar previously set in
+ const char *oldMenuName, /* The name of the menubar previously set in
* this toplevel. NULL means no menu was set
* previously. */
- char *menuName) /* The name of the new menubar that the
+ const char *menuName) /* The name of the new menubar that the
* toplevel needs to be set to. NULL means
* that their is no menu now. */
{