Merge pull request #179 from delthas/fix-doc

fix SetTitle documentation
This commit is contained in:
joesis
2020-11-01 19:00:32 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ func SetIcon(iconBytes []byte) {
C.setIcon(cstr, (C.int)(len(iconBytes)), false)
}
// SetTitle sets the systray title, only available on Mac.
// SetTitle sets the systray title, only available on Mac and Linux.
func SetTitle(title string) {
C.setTitle(C.CString(title))
}
+1 -1
View File
@@ -850,7 +850,7 @@ func SetTemplateIcon(templateIconBytes []byte, regularIconBytes []byte) {
SetIcon(regularIconBytes)
}
// SetTitle sets the systray title, only available on Mac.
// SetTitle sets the systray title, only available on Mac and Linux.
func SetTitle(title string) {
// do nothing
}