summaryrefslogtreecommitdiffstats
path: root/generic/tkListbox.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-03-20 22:55:16 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-03-20 22:55:16 (GMT)
commit8ec927ee5453686c58261fb86a1789a031b0cf98 (patch)
treebb2cc30a000130e42e9c7b1dddb4a77ffa3bd1e6 /generic/tkListbox.c
parentccbffd0e25dc9ee8600eee53815af75be7268a05 (diff)
downloadtk-8ec927ee5453686c58261fb86a1789a031b0cf98.zip
tk-8ec927ee5453686c58261fb86a1789a031b0cf98.tar.gz
tk-8ec927ee5453686c58261fb86a1789a031b0cf98.tar.bz2
* Updates to handle change in type of part2 argument of
Tcl_VarTraceProc typedef. [TIP 27] [Patch 532644].
Diffstat (limited to 'generic/tkListbox.c')
-rw-r--r--generic/tkListbox.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkListbox.c b/generic/tkListbox.c
index 3eaa135..e6483fd 100644
--- a/generic/tkListbox.c
+++ b/generic/tkListbox.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkListbox.c,v 1.25 2002/02/26 01:07:29 hobbs Exp $
+ * RCS: @(#) $Id: tkListbox.c,v 1.26 2002/03/20 22:55:16 dgp Exp $
*/
#include "tkPort.h"
@@ -425,7 +425,7 @@ static void ListboxWorldChanged _ANSI_ARGS_((
static int NearestListboxElement _ANSI_ARGS_((Listbox *listPtr,
int y));
static char * ListboxListVarProc _ANSI_ARGS_ ((ClientData clientData,
- Tcl_Interp *interp, char *name1, char *name2,
+ Tcl_Interp *interp, char *name1, CONST char *name2,
int flags));
static void MigrateHashEntries _ANSI_ARGS_ ((Tcl_HashTable *table,
int first, int last, int offset));
@@ -3224,7 +3224,7 @@ ListboxListVarProc(clientData, interp, name1, name2, flags)
ClientData clientData; /* Information about button. */
Tcl_Interp *interp; /* Interpreter containing variable. */
char *name1; /* Not used. */
- char *name2; /* Not used. */
+ CONST char *name2; /* Not used. */
int flags; /* Information about what happened. */
{
Listbox *listPtr = (Listbox *)clientData;