summaryrefslogtreecommitdiffstats
path: root/generic/tkListbox.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-01-08 23:35:37 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-01-08 23:35:37 (GMT)
commitcf5e1ec939d60bdf2c3440acc22e33dcadfb5dc0 (patch)
treec2930c6eaee389e98ce2ce20744ecfd614cf3374 /generic/tkListbox.c
parentf1ad837bb6dfcf955f3b560dc34892e9031dd7bd (diff)
downloadtk-cf5e1ec939d60bdf2c3440acc22e33dcadfb5dc0.zip
tk-cf5e1ec939d60bdf2c3440acc22e33dcadfb5dc0.tar.gz
tk-cf5e1ec939d60bdf2c3440acc22e33dcadfb5dc0.tar.bz2
Removed unused flags argument in Configure function since Tk_ConfigureWidget is no longer used there since last century
Diffstat (limited to 'generic/tkListbox.c')
-rw-r--r--generic/tkListbox.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/generic/tkListbox.c b/generic/tkListbox.c
index 537bbfc..86fb671 100644
--- a/generic/tkListbox.c
+++ b/generic/tkListbox.c
@@ -379,7 +379,7 @@ enum indices {
static void ChangeListboxOffset(Listbox *listPtr, int offset);
static void ChangeListboxView(Listbox *listPtr, int index);
static int ConfigureListbox(Tcl_Interp *interp, Listbox *listPtr,
- int objc, Tcl_Obj *const objv[], int flags);
+ int objc, Tcl_Obj *const objv[]);
static int ConfigureListboxItem(Tcl_Interp *interp,
Listbox *listPtr, ItemAttr *attrs, int objc,
Tcl_Obj *const objv[], int index);
@@ -564,7 +564,7 @@ Tk_ListboxObjCmd(
return TCL_ERROR;
}
- if (ConfigureListbox(interp, listPtr, objc-2, objv+2, 0) != TCL_OK) {
+ if (ConfigureListbox(interp, listPtr, objc-2, objv+2) != TCL_OK) {
Tk_DestroyWindow(listPtr->tkwin);
return TCL_ERROR;
}
@@ -700,7 +700,7 @@ ListboxWidgetObjCmd(
result = TCL_OK;
}
} else {
- result = ConfigureListbox(interp, listPtr, objc-2, objv+2, 0);
+ result = ConfigureListbox(interp, listPtr, objc-2, objv+2);
}
break;
}
@@ -1544,8 +1544,7 @@ ConfigureListbox(
register Listbox *listPtr, /* Information about widget; may or may not
* already have values for some fields. */
int objc, /* Number of valid entries in argv. */
- Tcl_Obj *const objv[], /* Arguments. */
- int flags) /* Flags to pass to Tk_ConfigureWidget. */
+ Tcl_Obj *const objv[]) /* Arguments. */
{
Tk_SavedOptions savedOptions;
Tcl_Obj *oldListObj = NULL;