summaryrefslogtreecommitdiff
path: root/redo/containers_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-29 23:01:28 -0400
committerPietro Gagliardi <[email protected]>2014-07-29 23:01:28 -0400
commit9daab20fcef427dbf0c27a32d8c5ec5bb3366cea (patch)
treeda3b816d12434e7c5268c6e873dd60f5e8534257 /redo/containers_unix.go
parentf4bb7360d4060d9c62c30d6b5508683a4fb6c472 (diff)
Changed Control.setParent() to take the same argument type on all platforms; this is needed for re-adding Stack and Grid. This argument type is defined by each platform.
Diffstat (limited to 'redo/containers_unix.go')
-rw-r--r--redo/containers_unix.go2
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",