diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-02 08:29:48 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-02 08:29:48 (GMT) |
commit | a5a75fd79518333976b2b5f8e0887b1eac08e72d (patch) | |
tree | 29d529701cd4539049feaf7f6b17349de81c587d /macosx/ttkMacOSXTheme.c | |
parent | e9be26a5cd7994354c11df68142dedd1ad385705 (diff) | |
download | tk-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.c | 2 |
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; |