Use the correct name of setDelegate:

This commit is contained in:
Brian Anderson 2012-04-18 19:25:36 -07:00
parent 6ba352788c
commit 1b31f3a453
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 0f0f4aeff308b95b356ac35ed8cce532100c4560 Subproject commit 9a43115ca9f5309543f0646252a3d420fdd40628

View file

@ -56,7 +56,7 @@ mod platform {
mod NSApp { mod NSApp {
fn setDelegate(nsapp: id, main: id) { fn setDelegate(nsapp: id, main: id) {
#debug("NSApp::setDelegate"); #debug("NSApp::setDelegate");
let sel = str::as_c_str("setDelegate") { |s| let sel = str::as_c_str("setDelegate:") { |s|
objc::sel_registerName(s) objc::sel_registerName(s)
}; };
cocoa::msgSend1Id(nsapp, sel, main); cocoa::msgSend1Id(nsapp, sel, main);