diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-10-01 14:14:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-10-01 14:14:17 (GMT) |
commit | dc6ec74c65be90b8f27bbaf6c5cdf0191a249ca6 (patch) | |
tree | fce745f5a19fe4f7b8e20e8957c82b877e70c18d /xlib | |
parent | 29b13551eedd3ef419e3decc1d3bff21e188be7d (diff) | |
download | tk-dc6ec74c65be90b8f27bbaf6c5cdf0191a249ca6.zip tk-dc6ec74c65be90b8f27bbaf6c5cdf0191a249ca6.tar.gz tk-dc6ec74c65be90b8f27bbaf6c5cdf0191a249ca6.tar.bz2 |
Modify TkClipBox and friends such that they return an int (normally 0) in stead of void. Reason: the X11 variant does this as well, this way we keep it the same on all platforms.
Diffstat (limited to 'xlib')
-rw-r--r-- | xlib/xgc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -458,7 +458,7 @@ XSetClipOrigin( *---------------------------------------------------------------------- */ -void +int TkSetRegion( Display *display, GC gc, @@ -475,6 +475,7 @@ TkSetRegion( TkpRetainRegion(r); #endif } + return Success; } int |