summaryrefslogtreecommitdiffstats
path: root/macosx/ttkMacOSXTheme.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-27 17:08:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-27 17:08:11 (GMT)
commited9cf42792f8332d1386414e459c9a4af9c66238 (patch)
tree24f6406655c0f69f4defd52000bba323ec167b93 /macosx/ttkMacOSXTheme.c
parent4636816c13f9e6a6889fe871f54c0a17151e6513 (diff)
parent09cadff7abbce69fb5d07b88b20f6461a05a0541 (diff)
downloadtk-ed9cf42792f8332d1386414e459c9a4af9c66238.zip
tk-ed9cf42792f8332d1386414e459c9a4af9c66238.tar.gz
tk-ed9cf42792f8332d1386414e459c9a4af9c66238.tar.bz2
Merge 8.6
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r--macosx/ttkMacOSXTheme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c
index 8bc8ef6..1a7ce39 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++) {