diff --git a/redo/sizing.go b/redo/sizing.go index 97cf4e8..3c71feb 100644 --- a/redo/sizing.go +++ b/redo/sizing.go @@ -45,7 +45,6 @@ func (c *container) resize(width, height int) { return } c.d = c.beginResize() - defer c.endResize(c.d) } d := c.d allocations := c.child.allocate(0, 0, width, height, d) diff --git a/redo/sizing_darwin.go b/redo/sizing_darwin.go index 8b141c2..afd4bca 100644 --- a/redo/sizing_darwin.go +++ b/redo/sizing_darwin.go @@ -35,10 +35,6 @@ func (w *window) beginResize() (d *sizing) { return d } -func (c *container) endResize(d *sizing) { - // redraw -} - func (c *container) translateAllocationCoords(allocations []*allocation, winwidth, winheight int) { for _, a := range allocations { // winheight - y because (0,0) is the bottom-left corner of the window and not the top-left corner diff --git a/redo/sizing_unix.go b/redo/sizing_unix.go index 5b19f9e..9f95e77 100644 --- a/redo/sizing_unix.go +++ b/redo/sizing_unix.go @@ -35,11 +35,6 @@ func (w *window) beginResize() (d *sizing) { return d } -func (c *container) endResize(d *sizing) { - // TODO -// C.gtk_widget_queue_draw(w.widget) -} - func (c *container) translateAllocationCoords(allocations []*allocation, winwidth, winheight int) { // no need for coordinate conversion with gtk+ } diff --git a/redo/sizing_windows.go b/redo/sizing_windows.go index 442aad0..429475b 100644 --- a/redo/sizing_windows.go +++ b/redo/sizing_windows.go @@ -44,10 +44,6 @@ func (w *window) beginResize() (d *sizing) { return d } -func (c *container) endResize(d *sizing) { - // redraw -} - func (c *container) translateAllocationCoords(allocations []*allocation, winwidth, winheight int) { // no translation needed on windows }