go-gtk icon indicating copy to clipboard operation
go-gtk copied to clipboard

cannot use func literal in listview

Open ghost opened this issue 9 years ago • 1 comments

Today i've test go-gtk and i see that this error appear in listview.go file.

[iplavvia@localhost listview]$ go run listview.go ./listview.go:27: cannot use func literal (type func(interface {}, interface {})) as type func(unsafe.Pointer, interface {}) in argument to gtk.StockListIDs().ForEach [iplexsia@localhost listview]$

ghost avatar May 29 '15 05:05 ghost

Use first argument as unsafe.Pointer not interface{}

mattn avatar May 29 '15 09:05 mattn