summaryrefslogtreecommitdiffstats
path: root/generic/tkMenubutton.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2002-03-20 22:55:16 (GMT)
committerdgp@users.sourceforge.net <dgp>2002-03-20 22:55:16 (GMT)
commit5dae2a4a4dbe25b239b3f408ad09a9f4db116b68 (patch)
treebb2cc30a000130e42e9c7b1dddb4a77ffa3bd1e6 /generic/tkMenubutton.c
parentb809e0d16b0d30e67d64a7e09fc30220a3136533 (diff)
downloadtk-5dae2a4a4dbe25b239b3f408ad09a9f4db116b68.zip
tk-5dae2a4a4dbe25b239b3f408ad09a9f4db116b68.tar.gz
tk-5dae2a4a4dbe25b239b3f408ad09a9f4db116b68.tar.bz2
* Updates to handle change in type of part2 argument of
Tcl_VarTraceProc typedef. [TIP 27] [Patch 532644].
Diffstat (limited to 'generic/tkMenubutton.c')
-rw-r--r--generic/tkMenubutton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkMenubutton.c b/generic/tkMenubutton.c
index dd86ae0..f6a46bf 100644
--- a/generic/tkMenubutton.c
+++ b/generic/tkMenubutton.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: tkMenubutton.c,v 1.10 2002/01/25 21:09:37 dgp Exp $
+ * RCS: @(#) $Id: tkMenubutton.c,v 1.11 2002/03/20 22:55:16 dgp Exp $
*/
#include "tkMenubutton.h"
@@ -176,7 +176,7 @@ static void MenuButtonImageProc _ANSI_ARGS_((ClientData clientData,
int imgHeight));
static char * MenuButtonTextVarProc _ANSI_ARGS_((
ClientData clientData, Tcl_Interp *interp,
- char *name1, char *name2, int flags));
+ char *name1, CONST char *name2, int flags));
static int MenuButtonWidgetObjCmd _ANSI_ARGS_((
ClientData clientData, Tcl_Interp *interp,
int objc, Tcl_Obj *CONST objv[]));
@@ -868,7 +868,7 @@ MenuButtonTextVarProc(clientData, interp, name1, name2, flags)
ClientData clientData; /* Information about button. */
Tcl_Interp *interp; /* Interpreter containing variable. */
char *name1; /* Name of variable. */
- char *name2; /* Second part of variable name. */
+ CONST char *name2; /* Second part of variable name. */
int flags; /* Information about what happened. */
{
register TkMenuButton *mbPtr = (TkMenuButton *) clientData;