summaryrefslogtreecommitdiffstats
path: root/generic/tkScale.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkScale.h')
-rw-r--r--generic/tkScale.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tkScale.h b/generic/tkScale.h
index 043d23c..d0be190 100644
--- a/generic/tkScale.h
+++ b/generic/tkScale.h
@@ -85,11 +85,7 @@ typedef struct TkScale {
int repeatInterval; /* Interval between autorepeats (in ms). */
char *label; /* Label to display above or to right of
* scale; NULL means don't display a label. */
-#if TK_MAJOR_VERSION > 8
- size_t labelLength; /* Number of non-NULL chars. in label. */
-#else
- unsigned int labelLength; /* Number of non-NULL chars. in label. */
-#endif
+ TkSizeT labelLength; /* Number of non-NULL chars. in label. */
enum state state; /* Values are active, normal, or disabled.
* Value of scale cannot be changed when
* disabled. */