diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-11 12:49:39 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-11 12:49:39 -0400 |
| commit | 219132f2f18d3b77d472e218bbcd39eb059bb90d (patch) | |
| tree | 33bf8777be0b9f5e55204a7acf1bf9d153c28386 /redo/container_darwin.go | |
| parent | 55f25afb49995ae799d9a093ed4f14142d4a8691 (diff) | |
Renamed Mac OS X's container's view field to id to be in sync with the other Mac OS X data structures.
Diffstat (limited to 'redo/container_darwin.go')
| -rw-r--r-- | redo/container_darwin.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/redo/container_darwin.go b/redo/container_darwin.go index 96aca31..a1096f1 100644 --- a/redo/container_darwin.go +++ b/redo/container_darwin.go @@ -11,8 +11,7 @@ import "C" type container struct { containerbase - // TODO rename to id - view C.id + id C.id } type sizing struct { @@ -27,9 +26,9 @@ type sizing struct { func newContainer(child Control) *container { c := new(container) - c.view = C.newContainerView(unsafe.Pointer(c)) + c.id = C.newContainerView(unsafe.Pointer(c)) c.child = child - c.child.setParent(&controlParent{c.view}) + c.child.setParent(&controlParent{c.id}) return c } |
