mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Use the correct name of setDelegate:
This commit is contained in:
parent
6ba352788c
commit
1b31f3a453
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 0f0f4aeff308b95b356ac35ed8cce532100c4560
|
Subproject commit 9a43115ca9f5309543f0646252a3d420fdd40628
|
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue