summaryrefslogtreecommitdiff
path: root/newctrl/group_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-17 23:14:00 -0400
committerPietro Gagliardi <[email protected]>2014-10-17 23:14:00 -0400
commitaabbe36b444bb09834059f2930c9e42cc632be12 (patch)
treefe5abeae3ecced6f01bd57d57a40f530b30b74b5 /newctrl/group_unix.go
parentf363a790cc1a417b63789afad457443d4666a451 (diff)
Fixed compiler errors. Now to fix runtime errors! Woo!
Diffstat (limited to 'newctrl/group_unix.go')
-rw-r--r--newctrl/group_unix.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/newctrl/group_unix.go b/newctrl/group_unix.go
index 2078ffc..dc6191b 100644
--- a/newctrl/group_unix.go
+++ b/newctrl/group_unix.go
@@ -50,7 +50,7 @@ func newGroup(text string, control Control) Group {
C.gtk_label_set_attributes(label, boldlist)
C.pango_attr_list_unref(boldlist) // thanks baedert in irc.gimp.net/#gtk+
- g.container = newContainer(control)
+ g.container = newContainer()
g.child.setParent(g.container.parent())
g.container.setParent(&controlParent{g.gcontainer})
@@ -80,7 +80,7 @@ func (g *group) SetMargined(margined bool) {
func (g *group) resize(x int, y int, width int, height int, d *sizing) {
// first, chain up to change the GtkFrame and its child container
// TODO use a variable for this
- g.containerSingleWidget.resize(x, y, width, height, d)
+ g.controlSingleWidget.resize(x, y, width, height, d)
// now that the container has the correct size, we can resize the child
a := g.container.allocation(g.margined)