From bea4df1abf6f4df34016727a300e4826fc31cc05 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 28 Jul 2014 14:00:01 -0400 Subject: Began final simplification of size code. spaced is now a global variable; either all controls are given spacing now, or none will. beginResize() is a method on container again. Done on GTK+ and Mac OS X for now. I'm going to go ahead and implement this on Windows in a bit, regardless of whether that Stack Overflow question get answered or not, because ugggggggggh I just want to continue working on this project for fuck's sake! --- redo/window_darwin.go | 1 - 1 file changed, 1 deletion(-) (limited to 'redo/window_darwin.go') diff --git a/redo/window_darwin.go b/redo/window_darwin.go index 7c10861..8474c8a 100644 --- a/redo/window_darwin.go +++ b/redo/window_darwin.go @@ -77,7 +77,6 @@ func windowClosing(xw unsafe.Pointer) C.BOOL { //export windowResized func windowResized(xw unsafe.Pointer, width C.uintptr_t, height C.uintptr_t) { w := (*window)(unsafe.Pointer(xw)) - w.container.d = w.beginResize() w.resize(int(width), int(height)) fmt.Printf("new size %d x %d\n", width, height) } -- cgit v1.2.3