Implemented initial window size on the GTK+ backend.

This commit is contained in:
Pietro Gagliardi 2014-07-21 10:37:15 -04:00
parent 26065e45cf
commit 7d3504e25b
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ func newWindow(title string, width int, height int) *window {
"size-allocate", "size-allocate",
C.GCallback(C.windowResizing), C.GCallback(C.windowResizing),
C.gpointer(unsafe.Pointer(w))) 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) C.gtk_container_add(w.container, layoutw)
return w return w
} }