diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-06-15 20:14:33 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-06-15 20:14:33 (GMT) |
commit | bc7034e2a3d599b3976b75741334d0598f2eb127 (patch) | |
tree | 257431d016974eb1d3e42cfce6239c1c9dcb1746 /unix | |
parent | f9182bc85f32dc9fe5d0c656200ee2e85eaf44a3 (diff) | |
parent | 72a4eea4cdef1059da99c87ce25a4c2db0972743 (diff) | |
download | tk-bc7034e2a3d599b3976b75741334d0598f2eb127.zip tk-bc7034e2a3d599b3976b75741334d0598f2eb127.tar.gz tk-bc7034e2a3d599b3976b75741334d0598f2eb127.tar.bz2 |
TIP #528 impelemtation: Deprecate Tk_Offset()
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkUnixWm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c index a0adbde..d06f38a 100644 --- a/unix/tkUnixWm.c +++ b/unix/tkUnixWm.c @@ -36,7 +36,7 @@ typedef struct ProtocolHandler { } ProtocolHandler; #define HANDLER_SIZE(cmdLength) \ - (Tk_Offset(ProtocolHandler, command) + 1 + cmdLength) + (offsetof(ProtocolHandler, command) + 1 + cmdLength) /* * Data for [wm attributes] command: |