aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfffw2015-02-08 11:50:04 +0800
committerfffw2015-02-08 13:32:02 +0800
commit3165416b3e09ab34f85ed82ddc31c018cac4e596 (patch)
tree7fc779b0fed3b9ffcccf22053c2d27f57dba17e2
parent68f200abb8f65e19eaaa4349a53f8dca52b083c2 (diff)
downloadsystray-3165416b3e09ab34f85ed82ddc31c018cac4e596.tar.bz2
update doc of systray.go
-rw-r--r--systray.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/systray.go b/systray.go
index 24bfc4a..d333b83 100644
--- a/systray.go
+++ b/systray.go
@@ -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)))