summaryrefslogtreecommitdiffstats
path: root/macosx/ttkMacOSXTheme.c
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2020-12-16 16:50:56 (GMT)
committermarc_culler <marc.culler@gmail.com>2020-12-16 16:50:56 (GMT)
commitd689479c933e288ddeafe93bd23e08836b79507e (patch)
tree3ae4e3625b1b93155416b67b0eabf796022ccc68 /macosx/ttkMacOSXTheme.c
parent1015fa89c934c0680ab3ae7feba0bac896e12b55 (diff)
downloadtk-d689479c933e288ddeafe93bd23e08836b79507e.zip
tk-d689479c933e288ddeafe93bd23e08836b79507e.tar.gz
tk-d689479c933e288ddeafe93bd23e08836b79507e.tar.bz2
Tidy up with a patch from Christopher Chavez. Removes redundant include directives and double semicolons. Uses nil instead of NULL for references to NSObjects in Objective C.
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r--macosx/ttkMacOSXTheme.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c
index a723408..ea65e2d 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -31,7 +31,6 @@
#include "tkMacOSXPrivate.h"
#include "ttk/ttkTheme.h"
-#include <math.h>
/*
* Macros for handling drawing contexts.
@@ -2886,7 +2885,7 @@ static Ttk_ElementSpec ToolbarBackgroundElementSpec = {
* +++ Field elements --
*
* Used for the Treeview widget. This is like the BackgroundElement
- * except that the fieldbackground color is configureable.
+ * except that the fieldbackground color is configurable.
*/
typedef struct {