summaryrefslogtreecommitdiffstats
path: root/generic/tkBusy.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-06 20:29:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-06 20:29:39 (GMT)
commit062332b74070e0ca06b5fefaa039efafe402a624 (patch)
tree174261b05a2f8773622a82526e3353049af70b4a /generic/tkBusy.c
parent62d36b53b20fdda3e415b341f3767ec1d61b526e (diff)
downloadtk-062332b74070e0ca06b5fefaa039efafe402a624.zip
tk-062332b74070e0ca06b5fefaa039efafe402a624.tar.gz
tk-062332b74070e0ca06b5fefaa039efafe402a624.tar.bz2
Experiment: let's see if we can deprecate Tk_Offset() in favor of offsetof()
Diffstat (limited to 'generic/tkBusy.c')
-rw-r--r--generic/tkBusy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkBusy.c b/generic/tkBusy.c
index aabf7a4..250e29b 100644
--- a/generic/tkBusy.c
+++ b/generic/tkBusy.c
@@ -23,7 +23,7 @@
static const Tk_OptionSpec busyOptionSpecs[] = {
{TK_OPTION_CURSOR, "-cursor", "cursor", "Cursor",
- DEF_BUSY_CURSOR, -1, Tk_Offset(Busy, cursor),
+ DEF_BUSY_CURSOR, -1, offsetof(Busy, cursor),
TK_OPTION_NULL_OK, 0, 0},
{TK_OPTION_END, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0}
};