From 07acb1ae04c5b1db70a3c390fd124324ad813085 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 12 Aug 2014 19:54:46 -0400 Subject: [PATCH] Now that all calls have to be made on a single thread, Stack.SetStretchy() can safely be called even after its Window is created (which is also when the Stack is assigned to the Window anyway). --- redo/stack.go | 1 - 1 file changed, 1 deletion(-) diff --git a/redo/stack.go b/redo/stack.go index 140ac4e..b0f9b0a 100644 --- a/redo/stack.go +++ b/redo/stack.go @@ -22,7 +22,6 @@ type Stack interface { Control // SetStretchy marks a control in a Stack as stretchy. - // This cannot be called once the Window containing the Stack has been created. [TODO might actually be safe to call anytime now] // It panics if index is out of range. SetStretchy(index int) }