diff options
| author | fffw | 2015-02-08 11:50:04 +0800 |
|---|---|---|
| committer | fffw | 2015-02-08 13:32:02 +0800 |
| commit | 3165416b3e09ab34f85ed82ddc31c018cac4e596 (patch) | |
| tree | 7fc779b0fed3b9ffcccf22053c2d27f57dba17e2 | |
| parent | 68f200abb8f65e19eaaa4349a53f8dca52b083c2 (diff) | |
| download | systray-3165416b3e09ab34f85ed82ddc31c018cac4e596.tar.bz2 | |
update doc of systray.go
| -rw-r--r-- | systray.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -66,8 +66,8 @@ func Quit() { } // SetIcon sets the systray icon. -// iconBytes should be the content of .ico for windows and .png for other -// platforms. +// iconBytes should be the content of .ico for windows and .ico/.jpg/.png +// for other platforms. func SetIcon(iconBytes []byte) { cstr := (*C.char)(unsafe.Pointer(&iconBytes[0])) C.setIcon(cstr, (C.int)(len(iconBytes))) |
