diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-16 09:26:46 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-16 09:26:46 -0400 |
| commit | 444f14065724b07666e92ff83ce417b5aef75e02 (patch) | |
| tree | 1c955a3076bcf685a0a5e705d208addd03e0eb3e | |
| parent | 39c0919652ef8c0b5318358d8431ce500e466f69 (diff) | |
Cleaned up after bold attributes in group_unix.go.
| -rw-r--r-- | redo/group_unix.go | 2 |
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}) |
