summaryrefslogtreecommitdiff
path: root/stack.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-14 11:12:08 -0500
committerPietro Gagliardi <[email protected]>2014-02-14 11:12:08 -0500
commit80f43a613ae073276ce4d31e988cb12e9d0ba480 (patch)
tree1f51857f933333f42dec63e8888ab166434d4b1c /stack.go
parent8407bfb0cb9d8e58c40758b552c4eb71fe5f6415 (diff)
Renamed Control.apply() to Control.make().
Diffstat (limited to 'stack.go')
-rw-r--r--stack.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/stack.go b/stack.go
index 78fbc99..693558f 100644
--- a/stack.go
+++ b/stack.go
@@ -33,9 +33,9 @@ func NewStack(o Orientation, controls ...Control) *Stack {
}
// TODO adorn errors with which stage failed
-func (s *Stack) apply(window *sysData) error {
+func (s *Stack) make(window *sysData) error {
for _, c := range s.controls {
- err := c.apply(window)
+ err := c.make(window)
if err != nil {
return err
}