summaryrefslogtreecommitdiff
path: root/sysdata.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-11 10:01:55 -0400
committerPietro Gagliardi <[email protected]>2014-06-11 10:01:55 -0400
commitd14ee7f3ddc76755495b42730124f8c1be66dd15 (patch)
tree1d19514b7343c67ffad18c67a24b7ca6429da0be /sysdata.go
parent0e620c4d34193089e5529623ad1655744a5e0b89 (diff)
Fixed the implementation of sysData.center() on Windows to be thread-safe; also added center() to the _xSysData interface.
Diffstat (limited to 'sysdata.go')
-rw-r--r--sysdata.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdata.go b/sysdata.go
index 9e6e384..dec0e27 100644
--- a/sysdata.go
+++ b/sysdata.go
@@ -41,6 +41,7 @@ var _xSysData interface {
len() int
setAreaSize(int, int)
repaintAll()
+ center()
} = &sysData{} // this line will error if there's an inconsistency
// signal sends the event signal. This raise is done asynchronously to avoid deadlocking the UI task.