zenity/internal/zenutil/env_unix.go
2022-06-07 00:03:34 +01:00

16 lines
232 B
Go

//go:build !windows && !darwin
package zenutil
import "strconv"
// These are internal.
var (
Separator = "\x1e"
LineBreak = "\n"
)
func ParseWindowId(id string) int {
wid, _ := strconv.ParseUint(id, 0, 64)
return int(wid)
}