aboutsummaryrefslogtreecommitdiff
path: root/PuzzleApplet.java
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2014-10-20 17:43:38 +0000
committerSimon Tatham <anakin@pobox.com>2014-10-20 17:43:38 +0000
commit74a97a1efb5dd7d27011b677197dcb29cf00937f (patch)
tree825b41caefda09e161561d7fde013202101b5c6e /PuzzleApplet.java
parentb1158d4dcf76aebf2a4dbac0734095a5a4ece6c0 (diff)
downloadpuzzles-74a97a1efb5dd7d27011b677197dcb29cf00937f.zip
puzzles-74a97a1efb5dd7d27011b677197dcb29cf00937f.tar.gz
puzzles-74a97a1efb5dd7d27011b677197dcb29cf00937f.tar.bz2
puzzles-74a97a1efb5dd7d27011b677197dcb29cf00937f.tar.xz
Stop using NSApp in the OS X front end.
As of OS X 10.10 (Yosemite), this causes a compile failure, which according to the Internet is because NSApp is a generic 'id' (Objective-C's answer to void *), which causes the compiler to select the wrong method for [NSApp setDelegate:...] and give a spurious type warning. Fixed by using [NSApplication sharedApplication] throughout, or rather, calling that once at startup and assigning the result into my own global variable which will do as an NSApp replacement. [originally from svn r10286]
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions