summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkProgress.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-02-10 16:08:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-02-10 16:08:45 (GMT)
commit9c45d3438d9f5eed3efe4f50c7ca96b9f978eacc (patch)
tree18b5ad8a44b605398f07661fa992171339ba62f2 /generic/ttk/ttkProgress.c
parente82adc446bb013824accb5b95f22129e0a5267a7 (diff)
parentd8043cacf61c790b4c3453014e03d4f0ea111d62 (diff)
downloadtk-9c45d3438d9f5eed3efe4f50c7ca96b9f978eacc.zip
tk-9c45d3438d9f5eed3efe4f50c7ca96b9f978eacc.tar.gz
tk-9c45d3438d9f5eed3efe4f50c7ca96b9f978eacc.tar.bz2
Merge trunk
Diffstat (limited to 'generic/ttk/ttkProgress.c')
-rw-r--r--generic/ttk/ttkProgress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkProgress.c b/generic/ttk/ttkProgress.c
index 2a72424..d50b41b 100644
--- a/generic/ttk/ttkProgress.c
+++ b/generic/ttk/ttkProgress.c
@@ -301,7 +301,7 @@ static int ProgressbarSize(void *recordPtr, int *widthPtr, int *heightPtr)
/* Override requested width (height) based on -length and -orient
*/
Tk_GetPixelsFromObj(NULL, pb->core.tkwin, pb->progress.lengthObj, &length);
- Ttk_GetOrientFromObj(NULL, pb->progress.orientObj, &orient);
+ TtkGetOrientFromObj(NULL, pb->progress.orientObj, &orient);
if (orient == TTK_ORIENT_HORIZONTAL) {
*widthPtr = length;
@@ -374,7 +374,7 @@ static void ProgressbarDoLayout(void *recordPtr)
Tcl_GetDoubleFromObj(NULL, pb->progress.valueObj, &value);
Tcl_GetDoubleFromObj(NULL, pb->progress.maximumObj, &maximum);
- Ttk_GetOrientFromObj(NULL, pb->progress.orientObj, &orient);
+ TtkGetOrientFromObj(NULL, pb->progress.orientObj, &orient);
if (pbar) {
double fraction = value / maximum;