summaryrefslogtreecommitdiff
path: root/redo/window_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/window_unix.go')
-rw-r--r--redo/window_unix.go9
1 files changed, 0 insertions, 9 deletions
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))
}