diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-21 10:37:15 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-21 10:37:15 -0400 |
| commit | 7d3504e25b948baaf47fb5d0ad022273ebfaafb0 (patch) | |
| tree | b9224f3fa3416b019739062c7aee3e6c51a8c4f1 /redo/window_unix.go | |
| parent | 26065e45cf02e99bb7bcd17509ef97ecbbab3f1f (diff) | |
Implemented initial window size on the GTK+ backend.
Diffstat (limited to 'redo/window_unix.go')
| -rw-r--r-- | redo/window_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/window_unix.go b/redo/window_unix.go index 41f3c34..c20e262 100644 --- a/redo/window_unix.go +++ b/redo/window_unix.go @@ -59,7 +59,7 @@ func newWindow(title string, width int, height int) *window { "size-allocate", C.GCallback(C.windowResizing), C.gpointer(unsafe.Pointer(w))) - // TODO size + C.gtk_window_resize(w.window, C.gint(width), C.gint(height)) C.gtk_container_add(w.container, layoutw) return w } |
