diff options
Diffstat (limited to 'redo/containers_unix.go')
| -rw-r--r-- | redo/containers_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/containers_unix.go b/redo/containers_unix.go index a6fe832..36118fe 100644 --- a/redo/containers_unix.go +++ b/redo/containers_unix.go @@ -42,7 +42,7 @@ func (t *tab) Append(name string, control Control) { c := new(container) t.containers = append(t.containers, c) c.child = control - c.child.setParent((*C.GtkContainer)(unsafe.Pointer(layout))) + c.child.setParent(&controlParent{(*C.GtkContainer)(unsafe.Pointer(layout))}) g_signal_connect_after( C.gpointer(unsafe.Pointer(layout)), "size-allocate", |
