summaryrefslogtreecommitdiff
path: root/redo/window_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-25 22:13:09 -0400
committerPietro Gagliardi <[email protected]>2014-07-25 22:13:09 -0400
commit41f3ef292f2e0d70beb3722004c968881ca0fae2 (patch)
tree1993bd896d607ef7b961bd7c3f89c6258401d69d /redo/window_unix.go
parentc676a2d9b7996df8d76d42c47b5f376b72b08ae0 (diff)
Cleaned up sizing a bit. Being able to know how big something will be ahead of time would be better.
Diffstat (limited to 'redo/window_unix.go')
-rw-r--r--redo/window_unix.go2
1 files changed, 1 insertions, 1 deletions
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)),