Cleaned up after bold attributes in group_unix.go.
This commit is contained in:
parent
39c0919652
commit
444f140657
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue