diff options
author | nijtmans <nijtmans> | 2010-05-10 20:58:18 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-05-10 20:58:18 (GMT) |
commit | 3a389d79d6b9bade3d00a9a807a1ab9a6a35c3ed (patch) | |
tree | bce5a861d5ca4dc8dc07981e0771a8076681957e /carbon/tkMacOSXMenu.c | |
parent | c0af073d229f34932ad5353fb873cd08c18f0ad1 (diff) | |
download | tk-3a389d79d6b9bade3d00a9a807a1ab9a6a35c3ed.zip tk-3a389d79d6b9bade3d00a9a807a1ab9a6a35c3ed.tar.gz tk-3a389d79d6b9bade3d00a9a807a1ab9a6a35c3ed.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.c | 6 |
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. |