From 7d3504e25b948baaf47fb5d0ad022273ebfaafb0 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 21 Jul 2014 10:37:15 -0400 Subject: [PATCH] Implemented initial window size on the GTK+ backend. --- redo/window_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }