diff options
Diffstat (limited to 'redo/window_unix.go')
| -rw-r--r-- | redo/window_unix.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/redo/window_unix.go b/redo/window_unix.go index e798443..7a5cc16 100644 --- a/redo/window_unix.go +++ b/redo/window_unix.go @@ -42,8 +42,7 @@ func newWindow(title string, width int, height int, control Control) *window { C.gpointer(unsafe.Pointer(w))) C.gtk_window_resize(w.window, C.gint(width), C.gint(height)) w.container = newContainer(control) - // TODO make a method of container? because this would conflict with tabs... - C.gtk_container_add(w.wc, w.container.layoutwidget) + w.container.setParent(&controlParent{w.wc}) return w } |
