summaryrefslogtreecommitdiffstats
path: root/macosx/ttkMacOSXTheme.c
diff options
context:
space:
mode:
authorculler <culler>2019-04-10 19:41:49 (GMT)
committerculler <culler>2019-04-10 19:41:49 (GMT)
commit913da88ce3f1ecc4a95e4b21dfa50c69ed753aad (patch)
tree7271fdf4b02b2566a5c466c0804a5e31575ecd34 /macosx/ttkMacOSXTheme.c
parent4a859d21b93649274665f6221db407fd429a2942 (diff)
downloadtk-913da88ce3f1ecc4a95e4b21dfa50c69ed753aad.zip
tk-913da88ce3f1ecc4a95e4b21dfa50c69ed753aad.tar.gz
tk-913da88ce3f1ecc4a95e4b21dfa50c69ed753aad.tar.bz2
Remove unused variable.
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 65e6d18..02dd7e4 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -1379,7 +1379,7 @@ static void PaneElementDraw(
};
bounds.origin.y -= kThemeMetricTabFrameOverlap;
bounds.size.height += kThemeMetricTabFrameOverlap;
- ChkErr(HIThemeDrawTabPane, &bounds, &info, dc.context, HIOrientation);
+ ChkErr(HIThemeDrawTabPane, &bounds, &info, dc.context, HIOrieRectntation);
#endif
END_DRAWING
[TkMacOSXDrawableView(macWin) setNeedsDisplay:YES];
@@ -1520,7 +1520,6 @@ static void EntryElementDraw(
}
BEGIN_DRAWING(d)
if (backgroundPtr == NULL) {
- CGRect innerRect = CGRectInset(bounds, 3, 3);
background = [NSColor textBackgroundColor];
CGContextSetFillColorWithColor(dc.context, background.CGColor);
CGContextFillRect(dc.context, bounds);