Cleaned up after bold attributes in group_unix.go.

This commit is contained in:
Pietro Gagliardi 2014-08-16 09:26:46 -04:00
parent 39c0919652
commit 444f140657
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func newGroup(text string, control Control) Group {
boldlist := C.pango_attr_list_new()
C.pango_attr_list_insert(boldlist, bold)
C.gtk_label_set_attributes(label, boldlist)
// TODO free either bold or boldlist?
C.pango_attr_list_unref(boldlist) // thanks baedert in irc.gimp.net/#gtk+
g.container = newContainer(control)
g.container.setParent(&controlParent{g.gcontainer})