diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-06 16:16:16 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-06 16:16:16 (GMT) |
commit | c24b589a6b793f5112cd11f613af9aa7ae10b55f (patch) | |
tree | 1dfc65f9ac4dc2c457dc27fc0a96f3aafcf443d4 /macosx/ttkMacOSXTheme.c | |
parent | c56bbfcace9ceaac2fa36e32d7c9349e7be3e3b5 (diff) | |
download | tk-c24b589a6b793f5112cd11f613af9aa7ae10b55f.zip tk-c24b589a6b793f5112cd11f613af9aa7ae10b55f.tar.gz tk-c24b589a6b793f5112cd11f613af9aa7ae10b55f.tar.bz2 |
Add stub entry for XLowerWindow() on MacOS (no idea why this was commented out, windows and X11 already had this)
More use of TCL_UNUSED()
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r-- | macosx/ttkMacOSXTheme.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c index f1b7b8e..b0be4e9 100644 --- a/macosx/ttkMacOSXTheme.c +++ b/macosx/ttkMacOSXTheme.c @@ -250,7 +250,7 @@ static CGFloat blackRGBA[4] = {0.0, 0.0, 0.0, 1.0}; */ static void GetBackgroundColor( - CGContextRef context, + TCL_UNUSED(CGContextRef), Tk_Window tkwin, int contrast, CGFloat *rgba) @@ -1039,7 +1039,7 @@ static void DrawDarkTab( static void DrawDarkSeparator( CGRect bounds, CGContextRef context, - Tk_Window tkwin) + TCL_UNUSED(Tk_Window)) { static CGFloat fill[4] = {1.0, 1.0, 1.0, 0.3}; NSColorSpace *deviceRGB = [NSColorSpace deviceRGBColorSpace]; @@ -1165,7 +1165,7 @@ static void DrawDarkFrame( static void DrawDarkListHeader( CGRect bounds, CGContextRef context, - Tk_Window tkwin, + TCL_UNUSED(Tk_Window), int state) { NSColorSpace *deviceRGB = [NSColorSpace deviceRGBColorSpace]; |