From aabbe36b444bb09834059f2930c9e42cc632be12 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 17 Oct 2014 23:14:00 -0400 Subject: Fixed compiler errors. Now to fix runtime errors! Woo! --- newctrl/group_unix.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'newctrl/group_unix.go') 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) -- cgit v1.2.3