summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXBitmap.c
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2020-12-11 05:55:13 (GMT)
committermarc_culler <marc.culler@gmail.com>2020-12-11 05:55:13 (GMT)
commit7d5165546e1f1cd69e5899902fe78af07524bac3 (patch)
tree6bb71d1b1a7776e639affdf3bbd982bc41fe97a7 /macosx/tkMacOSXBitmap.c
parentdd9981cdf34805e32668ccc8856f95631c0e9940 (diff)
downloadtk-7d5165546e1f1cd69e5899902fe78af07524bac3.zip
tk-7d5165546e1f1cd69e5899902fe78af07524bac3.tar.gz
tk-7d5165546e1f1cd69e5899902fe78af07524bac3.tar.bz2
Fix the build on macOS 10.6.
Diffstat (limited to 'macosx/tkMacOSXBitmap.c')
-rw-r--r--macosx/tkMacOSXBitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXBitmap.c b/macosx/tkMacOSXBitmap.c
index 29bb163..4c77d92 100644
--- a/macosx/tkMacOSXBitmap.c
+++ b/macosx/tkMacOSXBitmap.c
@@ -178,7 +178,7 @@ TkpCreateNativeBitmap(
NSImage *iconImage = [[NSWorkspace sharedWorkspace]
iconForFileType: iconUTI];
CGSize size = CGSizeMake(builtInIconSize, builtInIconSize);
- Pixmap pixmap = PixmapFromImage(display, iconImage, NSSizeToCGSize(size));
+ Pixmap pixmap = PixmapFromImage(display, iconImage, size);
return pixmap;
}