From d1702d33e055fb254cfacb1ad7d3d3f60314bba6 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 25 Jul 2014 19:44:32 -0400 Subject: Updated the GTK+ backend to have the new parenting and sizing changes. Now to implement Tab! ...though I should probably implement the changes on Mac OS X first. --- redo/sizing_unix.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'redo/sizing_unix.go') diff --git a/redo/sizing_unix.go b/redo/sizing_unix.go index caa9c8c..5b19f9e 100644 --- a/redo/sizing_unix.go +++ b/redo/sizing_unix.go @@ -35,11 +35,12 @@ func (w *window) beginResize() (d *sizing) { return d } -func (w *window) endResize(d *sizing) { - C.gtk_widget_queue_draw(w.widget) +func (c *container) endResize(d *sizing) { + // TODO +// C.gtk_widget_queue_draw(w.widget) } -func (w *window) translateAllocationCoords(allocations []*allocation, winwidth, winheight int) { +func (c *container) translateAllocationCoords(allocations []*allocation, winwidth, winheight int) { // no need for coordinate conversion with gtk+ } -- cgit v1.2.3