diff options
author | marc_culler <marc.culler@gmail.com> | 2022-09-20 18:49:19 (GMT) |
---|---|---|
committer | marc_culler <marc.culler@gmail.com> | 2022-09-20 18:49:19 (GMT) |
commit | 70e71ac2a7e48ac901ade99e9eb97ad46fc6ac0a (patch) | |
tree | e7be5aefdbd499a0b02cfdcf46ebcb314645b910 /macosx/ttkMacOSXTheme.c | |
parent | 7ffeb3078c8ee1622012d539c1bc057aa4ae0f94 (diff) | |
parent | 74bd73fcc4d8a8496e7e1828cd0467aa6c2b32bc (diff) | |
download | tk-70e71ac2a7e48ac901ade99e9eb97ad46fc6ac0a.zip tk-70e71ac2a7e48ac901ade99e9eb97ad46fc6ac0a.tar.gz tk-70e71ac2a7e48ac901ade99e9eb97ad46fc6ac0a.tar.bz2 |
Merge main
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r-- | macosx/ttkMacOSXTheme.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c index ca3b2ad..9ebae52 100644 --- a/macosx/ttkMacOSXTheme.c +++ b/macosx/ttkMacOSXTheme.c @@ -160,14 +160,14 @@ CGColorFromGray( return nscolor.CGColor; } -#define CGCOLOR(nscolor) nscolor.CGColor +#define CGCOLOR(nscolor) (nscolor).CGColor #else -#define CGCOLOR(nscolor) nil -#define CGColorFromRGBA(rgba) nil -#define CGColorFromGray(gray) nil -#define CGPathCreateWithRoundedRect(w, x, y, z) nil +#define CGCOLOR(nscolor) NULL +#define CGColorFromRGBA(rgba) NULL +#define CGColorFromGray(gray) NULL +#define CGPathCreateWithRoundedRect(w, x, y, z) NULL #endif |