diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-08-12 14:44:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-08-12 14:44:46 (GMT) |
commit | f494a10c21ef287a1b1546a351f97c3f15f47f99 (patch) | |
tree | 775fcd02f5a43223631bc87a40892ecbbeea3e2f /macosx/tkMacOSXXStubs.c | |
parent | 861ca920038c540cbbad1918183df4c1ecccb17a (diff) | |
download | tk-f494a10c21ef287a1b1546a351f97c3f15f47f99.zip tk-f494a10c21ef287a1b1546a351f97c3f15f47f99.tar.gz tk-f494a10c21ef287a1b1546a351f97c3f15f47f99.tar.bz2 |
Change Tk_FreeXId() into a macro.
A few end-of-line spacing eliminations.
Diffstat (limited to 'macosx/tkMacOSXXStubs.c')
-rw-r--r-- | macosx/tkMacOSXXStubs.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/macosx/tkMacOSXXStubs.c b/macosx/tkMacOSXXStubs.c index a2d175b..1313c9f 100644 --- a/macosx/tkMacOSXXStubs.c +++ b/macosx/tkMacOSXXStubs.c @@ -681,14 +681,6 @@ XForceScreenSaver( display->request++; } -void -Tk_FreeXId( - Display *display, - XID xid) -{ - /* no-op function needed for stubs implementation. */ -} - int XSync( Display *display, @@ -897,7 +889,7 @@ XGetImage( * We do not support any other values here. */ int scalefactor = 1; - if (win && [win respondsToSelector:@selector(backingScaleFactor)]) { + if (win && [win respondsToSelector:@selector(backingScaleFactor)]) { scalefactor = ([win backingScaleFactor] == 2.0) ? 2 : 1; } int scaled_height = height * scalefactor; |