diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-03 15:45:26 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-03 15:45:26 -0500 |
| commit | 54a63eb712678a11265979b2a1bd96c5cb08bf21 (patch) | |
| tree | cdb6ce1b0c182072b5e575c163c877e7862ac879 | |
| parent | 4923f3944c7384012ab3fa9d0e96a7b2baaa687f (diff) | |
Removed a leftover crash guard from the Mac OS X sysData code (in this case sysData.preferredSize()).
| -rw-r--r-- | prefsize_darwin.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/prefsize_darwin.go b/prefsize_darwin.go index f958c71..e935bff 100644 --- a/prefsize_darwin.go +++ b/prefsize_darwin.go @@ -37,6 +37,5 @@ var prefsizefuncs = [nctypes]func(C.id) (int, int){ } func (s *sysData) preferredSize() (width int, height int) { -if classTypes[s.ctype].make == nil { return 0, 0 } // prevent lockup during window resize return prefsizefuncs[s.ctype](s.id) } |
