summaryrefslogtreecommitdiffstats
path: root/generic/tkPack.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkPack.c')
-rw-r--r--generic/tkPack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkPack.c b/generic/tkPack.c
index d73de4a..00597b3 100644
--- a/generic/tkPack.c
+++ b/generic/tkPack.c
@@ -1821,7 +1821,7 @@ ConfigureContent(
*/
for (container = (TkWindow *)containerPtr->tkwin; container != NULL;
- container = (TkWindow *)TkGetGeomMaster(container)) {
+ container = (TkWindow *)TkGetContainer(container)) {
if (container == (TkWindow *)content) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"can't put \"%s\" inside \"%s\": would cause management loop",