summaryrefslogtreecommitdiffstats
path: root/carbon/tkMacOSXMenu.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 /carbon/tkMacOSXMenu.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 'carbon/tkMacOSXMenu.c')
-rw-r--r--carbon/tkMacOSXMenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/carbon/tkMacOSXMenu.c b/carbon/tkMacOSXMenu.c
index 863d7cd..aaf8ea9 100644
--- a/carbon/tkMacOSXMenu.c
+++ b/carbon/tkMacOSXMenu.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: tkMacOSXMenu.c,v 1.1 2009/06/26 01:42:47 das Exp $
+ * RCS: @(#) $Id: tkMacOSXMenu.c,v 1.2 2010/05/10 20:58:18 nijtmans Exp $
*/
#include "tkMacOSXPrivate.h"
@@ -2037,7 +2037,7 @@ void
TkpSetMainMenubar(
Tcl_Interp *interp, /* The interpreter of the application */
Tk_Window tkwin, /* The frame we are setting up */
- char *menuName) /* The name of the menu to put in front. If
+ const char *menuName) /* The name of the menu to put in front. If
* NULL, use the default menu bar. */
{
TkWindow *winPtr = (TkWindow *) tkwin;
@@ -3941,7 +3941,7 @@ TkMacOSXClearMenubarActive(void)
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.