summaryrefslogtreecommitdiffstats
path: root/generic/tkScrollbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkScrollbar.c')
-rw-r--r--generic/tkScrollbar.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/generic/tkScrollbar.c b/generic/tkScrollbar.c
index a776488..04a4168 100644
--- a/generic/tkScrollbar.c
+++ b/generic/tkScrollbar.c
@@ -97,11 +97,10 @@ static const Tk_ConfigSpec configSpecs[] = {
*/
static int ConfigureScrollbar(Tcl_Interp *interp,
- TkScrollbar *scrollPtr, int objc,
+ TkScrollbar *scrollPtr, Tcl_Size objc,
Tcl_Obj *const objv[], int flags);
static void ScrollbarCmdDeletedProc(void *clientData);
-static int ScrollbarWidgetObjCmd(void *clientData,
- Tcl_Interp *, int objc, Tcl_Obj *const objv[]);
+static Tcl_ObjCmdProc ScrollbarWidgetObjCmd;
/*
*--------------------------------------------------------------
@@ -527,7 +526,7 @@ ConfigureScrollbar(
TkScrollbar *scrollPtr,
/* Information about widget; may or may not
* already have values for some fields. */
- int objc, /* Number of valid entries in argv. */
+ Tcl_Size objc, /* Number of valid entries in argv. */
Tcl_Obj *const objv[], /* Arguments. */
int flags) /* Flags to pass to Tk_ConfigureWidget. */
{