From e989c953fa683c56d9214e24c9f1fd22027afa9c Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 22 Jul 2014 00:07:41 -0400 Subject: Moved Window.SetControl() into window.go pending addition of fake resize events. --- redo/window_unix.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'redo/window_unix.go') diff --git a/redo/window_unix.go b/redo/window_unix.go index 4b2d0d2..26675e7 100644 --- a/redo/window_unix.go +++ b/redo/window_unix.go @@ -66,15 +66,6 @@ func newWindow(title string, width int, height int) *window { return w } -func (w *window) SetControl(control Control) { - if w.child != nil { // unparent existing control - w.child.unparent() - } - control.unparent() - control.parent(w) - w.child = control -} - func (w *window) Title() string { return fromgstr(C.gtk_window_get_title(w.window)) } -- cgit v1.2.3