diff options
author | fvogel <fvogelnew1@free.fr> | 2016-01-08 23:35:37 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-01-08 23:35:37 (GMT) |
commit | cf5e1ec939d60bdf2c3440acc22e33dcadfb5dc0 (patch) | |
tree | c2930c6eaee389e98ce2ce20744ecfd614cf3374 /generic/tkListbox.c | |
parent | f1ad837bb6dfcf955f3b560dc34892e9031dd7bd (diff) | |
download | tk-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.c | 9 |
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; |