summaryrefslogtreecommitdiff
path: root/listbox_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-26 22:55:43 -0400
committerPietro Gagliardi <[email protected]>2014-04-26 22:55:43 -0400
commit6978961661c825388fa7c28f456ba71dd85fa908 (patch)
tree1249525c6c3aeece0846df61a77ccd02f478c9c3 /listbox_unix.go
parent77297672dd67df94abbe23d494fa27638d0c15c3 (diff)
Changed fromgchar()/togchar() to fromgstr()/togstr() in the GTK+ code; the new names are more precise (though they don't operate on GStrings; that's not an issue here though).
Diffstat (limited to 'listbox_unix.go')
-rw-r--r--listbox_unix.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/listbox_unix.go b/listbox_unix.go
index 9687a54..efd5641 100644
--- a/listbox_unix.go
+++ b/listbox_unix.go
@@ -113,7 +113,7 @@ func gListboxText(widget *C.GtkWidget) string {
return ""
}
C.gtkTreeModelGet(model, &iter, &gs)
- return fromgchar(gs)
+ return fromgstr(gs)
}
func gListboxAppend(widget *C.GtkWidget, what string) {
@@ -181,7 +181,7 @@ func gListboxSelMultiTexts(widget *C.GtkWidget) (texts []string) {
return
}
C.gtkTreeModelGet(model, &iter, &gs)
- texts[i] = fromgchar(gs)
+ texts[i] = fromgstr(gs)
rows = rows.next
}
return texts