From 41f3ef292f2e0d70beb3722004c968881ca0fae2 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 25 Jul 2014 22:13:09 -0400 Subject: Cleaned up sizing a bit. Being able to know how big something will be ahead of time would be better. --- redo/window_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redo/window_unix.go') diff --git a/redo/window_unix.go b/redo/window_unix.go index 736ad7e..6ab68b1 100644 --- a/redo/window_unix.go +++ b/redo/window_unix.go @@ -49,7 +49,7 @@ func newWindow(title string, width int, height int, control Control) *window { closing: newEvent(), container: new(container), } - w.container.beginResize = beginResize + w.container.beginResize = w.beginResize C.gtk_window_set_title(w.window, ctitle) g_signal_connect( C.gpointer(unsafe.Pointer(w.window)), -- cgit v1.2.3