summaryrefslogtreecommitdiff
path: root/redo/group_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-16 09:26:46 -0400
committerPietro Gagliardi <[email protected]>2014-08-16 09:26:46 -0400
commit444f14065724b07666e92ff83ce417b5aef75e02 (patch)
tree1c955a3076bcf685a0a5e705d208addd03e0eb3e /redo/group_unix.go
parent39c0919652ef8c0b5318358d8431ce500e466f69 (diff)
Cleaned up after bold attributes in group_unix.go.
Diffstat (limited to 'redo/group_unix.go')
-rw-r--r--redo/group_unix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/group_unix.go b/redo/group_unix.go
index 7c4e73d..ad3bef0 100644
--- a/redo/group_unix.go
+++ b/redo/group_unix.go
@@ -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})