summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-01-14 22:48:10 (GMT)
committernijtmans <nijtmans>2009-01-14 22:48:10 (GMT)
commitc93dd2083f7175608a4a298176c8740d138d6d64 (patch)
treee6e9960d7bbbcfdbe760ca03fb5d973264eaf8f9 /generic/tkMenu.h
parent3c0e7506814daa3d6fb43f62ad3022c12138a22c (diff)
downloadtk-c93dd2083f7175608a4a298176c8740d138d6d64.zip
tk-c93dd2083f7175608a4a298176c8740d138d6d64.tar.gz
tk-c93dd2083f7175608a4a298176c8740d138d6d64.tar.bz2
- fix for aMSN compatibility [tcl-Bug 2507326]
- CONSTify Tk(Create|Find)menuReferences - various internal "const" decorations
Diffstat (limited to 'generic/tkMenu.h')
-rw-r--r--generic/tkMenu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkMenu.h b/generic/tkMenu.h
index 015b89b..e85c874 100644
--- a/generic/tkMenu.h
+++ b/generic/tkMenu.h
@@ -9,7 +9,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.h,v 1.15 2008/10/17 23:18:37 nijtmans Exp $
+ * RCS: @(#) $Id: tkMenu.h,v 1.16 2009/01/14 22:48:10 nijtmans Exp $
*/
#ifndef _TKMENU
@@ -492,12 +492,12 @@ typedef struct TkMenuOptionTables {
MODULE_SCOPE int TkActivateMenuEntry(TkMenu *menuPtr, int index);
MODULE_SCOPE void TkBindMenu(Tk_Window tkwin, TkMenu *menuPtr);
MODULE_SCOPE TkMenuReferences*TkCreateMenuReferences(Tcl_Interp *interp,
- char *name);
+ const char *name);
MODULE_SCOPE void TkDestroyMenu(TkMenu *menuPtr);
MODULE_SCOPE void TkEventuallyRecomputeMenu(TkMenu *menuPtr);
MODULE_SCOPE void TkEventuallyRedrawMenu(TkMenu *menuPtr,
TkMenuEntry *mePtr);
-MODULE_SCOPE TkMenuReferences*TkFindMenuReferences(Tcl_Interp *interp, char *name);
+MODULE_SCOPE TkMenuReferences*TkFindMenuReferences(Tcl_Interp *interp, const char *name);
MODULE_SCOPE TkMenuReferences*TkFindMenuReferencesObj(Tcl_Interp *interp,
Tcl_Obj *namePtr);
MODULE_SCOPE int TkFreeMenuReferences(TkMenuReferences *menuRefPtr);