diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-27 16:51:49 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-27 16:51:49 (GMT) |
commit | 09cadff7abbce69fb5d07b88b20f6461a05a0541 (patch) | |
tree | e6361db0e9c8f89c271039bf2b9bf561b963610d /macosx/ttkMacOSXTheme.c | |
parent | e49c53fa60a2329599dc7dbd69ee4f841be994c8 (diff) | |
parent | 60091ce863fdbfbf444d6970d44fb50166ccd6fe (diff) | |
download | tk-09cadff7abbce69fb5d07b88b20f6461a05a0541.zip tk-09cadff7abbce69fb5d07b88b20f6461a05a0541.tar.gz tk-09cadff7abbce69fb5d07b88b20f6461a05a0541.tar.bz2 |
Last TIP #581 changes. 100% done now
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r-- | macosx/ttkMacOSXTheme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c index 3541dd8..87ec507 100644 --- a/macosx/ttkMacOSXTheme.c +++ b/macosx/ttkMacOSXTheme.c @@ -256,13 +256,13 @@ static void GetBackgroundColor( CGFloat *rgba) { TkWindow *winPtr = (TkWindow *)tkwin; - TkWindow *containerPtr = (TkWindow *)TkGetGeomMaster(tkwin); + TkWindow *containerPtr = (TkWindow *)TkGetContainer(tkwin); while (containerPtr && containerPtr->privatePtr) { if (containerPtr->privatePtr->flags & TTK_HAS_CONTRASTING_BG) { break; } - containerPtr = (TkWindow *)TkGetGeomMaster(containerPtr); + containerPtr = (TkWindow *)TkGetContainer(containerPtr); } if (containerPtr && containerPtr->privatePtr) { for (int i = 0; i < 4; i++) { |