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)
commit81531f95b28fd626b0526cecbf0dcf7b9dcd14f7 (patch)
treee6e9960d7bbbcfdbe760ca03fb5d973264eaf8f9 /generic/tkMenu.h
parentccce2ce0b6a3482392ede634668c6a8960519412 (diff)
downloadtk-81531f95b28fd626b0526cecbf0dcf7b9dcd14f7.zip
tk-81531f95b28fd626b0526cecbf0dcf7b9dcd14f7.tar.gz
tk-81531f95b28fd626b0526cecbf0dcf7b9dcd14f7.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);