summaryrefslogtreecommitdiff
path: root/gtkcasts_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'gtkcasts_unix.go')
-rw-r--r--gtkcasts_unix.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtkcasts_unix.go b/gtkcasts_unix.go
index 287ed58..a2395a4 100644
--- a/gtkcasts_unix.go
+++ b/gtkcasts_unix.go
@@ -28,12 +28,12 @@ func togbool(b bool) C.gboolean {
return C.FALSE
}
-func fromgchar(what *C.gchar) string {
+func fromgstr(what *C.gchar) string {
cstr := (*C.char)(unsafe.Pointer(what))
return C.GoString(cstr)
}
-func togchar(what *C.char) *C.gchar {
+func togstr(what *C.char) *C.gchar {
return (*C.gchar)(unsafe.Pointer(what))
}