diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-11 11:36:32 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-11 11:36:32 -0400 |
| commit | be561354517a8c947d46e947bb723db6b21dfbf1 (patch) | |
| tree | a6f05e105c8b33d722493a45743c426d3890d812 /redo/control_darwin.go | |
| parent | 10201ef24f1f402bca6316c56c7d866ec03783f2 (diff) | |
Removed the need for C.frame() by splitting apart the alignment rect functions on the Mac OS X side.
Diffstat (limited to 'redo/control_darwin.go')
| -rw-r--r-- | redo/control_darwin.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/redo/control_darwin.go b/redo/control_darwin.go index c92ed75..b3b3dcf 100644 --- a/redo/control_darwin.go +++ b/redo/control_darwin.go @@ -34,8 +34,7 @@ func dobasecommitResize(id C.id, c *allocation, d *sizing) { } func basegetAuxResizeInfo(c controlPrivate, d *sizing) { - id := c.id() - d.neighborAlign = C.alignmentInfo(id, C.frame(id)) + d.neighborAlign = C.alignmentInfoFrame(c.id()) } type scroller struct { |
