From d14ee7f3ddc76755495b42730124f8c1be66dd15 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 11 Jun 2014 10:01:55 -0400 Subject: Fixed the implementation of sysData.center() on Windows to be thread-safe; also added center() to the _xSysData interface. --- sysdata.go | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdata.go') 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. -- cgit v1.2.3