summaryrefslogtreecommitdiffstats
path: root/macosx/ttkMacOSXTheme.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-02 08:29:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-02 08:29:48 (GMT)
commita5a75fd79518333976b2b5f8e0887b1eac08e72d (patch)
tree29d529701cd4539049feaf7f6b17349de81c587d /macosx/ttkMacOSXTheme.c
parente9be26a5cd7994354c11df68142dedd1ad385705 (diff)
downloadtk-a5a75fd79518333976b2b5f8e0887b1eac08e72d.zip
tk-a5a75fd79518333976b2b5f8e0887b1eac08e72d.tar.gz
tk-a5a75fd79518333976b2b5f8e0887b1eac08e72d.tar.bz2
Eliminate MODULE_SCOPE wrapper function for TkMacOSXDrawable(). Rename (internal) TkMacOSXDrawableWindow() to TkMacOSXGetNSWindowForDrawable(). Code (type-cast) cleanup
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r--macosx/ttkMacOSXTheme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c
index 37d3631..95c72c4 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -547,7 +547,7 @@ static void DrawListHeader(
* So we have to query the Apple window manager.
*/
- NSWindow *win = TkMacOSXDrawableWindow(Tk_WindowId(tkwin));
+ NSWindow *win = TkMacOSXGetNSWindowForDrawable(Tk_WindowId(tkwin));
CGFloat *bgRGBA = [win isKeyWindow] ? activeBgRGBA : inactiveBgRGBA;
CGFloat x = bounds.origin.x, y = bounds.origin.y;
CGFloat w = bounds.size.width, h = bounds.size.height;