summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorculler <culler>2021-04-25 22:50:14 (GMT)
committerculler <culler>2021-04-25 22:50:14 (GMT)
commit2b4875f9a8a916fa7fc7c821b0a73d668ec35cdf (patch)
tree3f2791af71dc9254797a51421ed520a1958210d0 /macosx
parent45e129155eee3c174598146404e28b0cbdc02e5c (diff)
downloadtk-2b4875f9a8a916fa7fc7c821b0a73d668ec35cdf.zip
tk-2b4875f9a8a916fa7fc7c821b0a73d668ec35cdf.tar.gz
tk-2b4875f9a8a916fa7fc7c821b0a73d668ec35cdf.tar.bz2
One more bit of code cleanup.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXDraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c
index f642bda..d5396eb 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -1437,7 +1437,7 @@ TkMacOSXSetupDrawingContext(
TkMacOSXSetColorInContext(gc, gc->foreground, dc.context);
if (view) {
- NSSize size = [view bounds].size;
+ CGSize size = NSSizeToCGSize([view bounds].size);
CGContextSetPatternPhase(dc.context, size);
}
if (gc->function != GXcopy) {