summaryrefslogtreecommitdiff
path: root/sysdata.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-12 21:47:39 -0400
committerPietro Gagliardi <[email protected]>2014-03-12 21:47:39 -0400
commit26c6b97ce1198c879ebc499661e1ba65239ede7d (patch)
tree548c817b01add07d0c0fa49bf7c1b87deec131ff /sysdata.go
parenteb48ed09c3621cd3ac94c1d9cdbe310cf0f44eaf (diff)
Removed ui.Event(); all event channels are initialized with their objects now.
Diffstat (limited to 'sysdata.go')
-rw-r--r--sysdata.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdata.go b/sysdata.go
index 2680269..02fda39 100644
--- a/sysdata.go
+++ b/sysdata.go
@@ -7,8 +7,8 @@ import (
const eventbufsiz = 100 // suggested by skelterjohn
-// Event returns a new channel suitable for listening for events.
-func Event() chan struct{} {
+// newEvent returns a new channel suitable for listening for events.
+func newEvent() chan struct{} {
return make(chan struct{}, eventbufsiz)
}