summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkProgress.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-12-08 08:24:22 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-12-08 08:24:22 (GMT)
commit4eefa7b3a6b659a083c0697a4ded7779823b495c (patch)
treebd3df997ce339709a3ac2d29274ad22cb4b5da46 /generic/ttk/ttkProgress.c
parent2fa093a5cf1c12cb8ea6d81647899312643b89e5 (diff)
downloadtk-4eefa7b3a6b659a083c0697a4ded7779823b495c.zip
tk-4eefa7b3a6b659a083c0697a4ded7779823b495c.tar.gz
tk-4eefa7b3a6b659a083c0697a4ded7779823b495c.tar.bz2
Eliminate USE_OLD_TAG_SEARCH: It isn't used and tested any more.
Eliminate a ton of unnecessary type casts
Diffstat (limited to 'generic/ttk/ttkProgress.c')
-rw-r--r--generic/ttk/ttkProgress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/ttk/ttkProgress.c b/generic/ttk/ttkProgress.c
index b805357..cb4b464 100644
--- a/generic/ttk/ttkProgress.c
+++ b/generic/ttk/ttkProgress.c
@@ -159,7 +159,7 @@ static void CheckAnimation(Progressbar *pb)
if (AnimationEnabled(pb)) {
if (pb->progress.timer == 0) {
pb->progress.timer = Tcl_CreateTimerHandler(
- pb->progress.period, AnimateProgressProc, (ClientData)pb);
+ pb->progress.period, AnimateProgressProc, pb);
}
} else {
if (pb->progress.timer != 0) {