From 6978961661c825388fa7c28f456ba71dd85fa908 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 26 Apr 2014 22:55:43 -0400 Subject: 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). --- listbox_unix.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'listbox_unix.go') 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 -- cgit v1.2.3