diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-24 14:20:12 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-24 14:20:12 (GMT) |
commit | 7073e267a81a7be41f44c577efac0b05aa07bebd (patch) | |
tree | 6af3766c5ee7d0817e1f0996d05f54f38efbb42b /generic/ttk/ttkProgress.c | |
parent | 4c474c358fa8484bfbe53f338c280d33ad8fecab (diff) | |
download | tk-7073e267a81a7be41f44c577efac0b05aa07bebd.zip tk-7073e267a81a7be41f44c577efac0b05aa07bebd.tar.gz tk-7073e267a81a7be41f44c577efac0b05aa07bebd.tar.bz2 |
Code cleanup (mainly unnecessary casts to (ClientData))
Diffstat (limited to 'generic/ttk/ttkProgress.c')
-rw-r--r-- | generic/ttk/ttkProgress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkProgress.c b/generic/ttk/ttkProgress.c index 505748b..a025885 100644 --- a/generic/ttk/ttkProgress.c +++ b/generic/ttk/ttkProgress.c @@ -71,10 +71,10 @@ static const Tk_OptionSpec ProgressbarOptionSpecs[] = {TK_OPTION_STRING_TABLE, "-mode", "mode", "ProgressMode", "determinate", offsetof(Progressbar,progress.modeObj), offsetof(Progressbar,progress.mode), - 0, (ClientData)ProgressbarModeStrings, 0 }, + 0, (void *)ProgressbarModeStrings, 0 }, {TK_OPTION_STRING_TABLE, "-orient", "orient", "Orient", "horizontal", offsetof(Progressbar,progress.orientObj), TCL_INDEX_NONE, - 0, (ClientData)ttkOrientStrings, STYLE_CHANGED }, + 0, (void *)ttkOrientStrings, STYLE_CHANGED }, {TK_OPTION_INT, "-phase", "phase", "Phase", "0", offsetof(Progressbar,progress.phaseObj), TCL_INDEX_NONE, 0, 0, 0 }, |