From 45cef1badf65a4cd993d61969b7a1385d4bbead3 Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Wed, 24 Dec 2014 07:51:57 +1000 Subject: [PATCH] Revert "Fix more obj-c method calls." This reverts commit fc1f0360f9ef383f2aa7f7fae84fefdb65156561. --- src/appkit.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/appkit.rs b/src/appkit.rs index 68c9afe..4f637dd 100644 --- a/src/appkit.rs +++ b/src/appkit.rs @@ -554,7 +554,7 @@ impl NSWindow for id { } unsafe fn cascadeTopLeftFromPoint_(self, topLeft: NSPoint) -> NSPoint { - msg_send_stret()(self, selector("cascadeTopLeftFromPoint:"), topLeft) + msg_send()(self, selector("cascadeTopLeftFromPoint:"), topLeft) } unsafe fn setFrame_displayViews_(self, windowFrame: NSRect, display: bool) { @@ -562,7 +562,7 @@ impl NSWindow for id { } unsafe fn aspectRatio(self) -> NSSize { - msg_send_stret()(self, selector("aspectRatio")) + msg_send()(self, selector("aspectRatio")) } unsafe fn setAspectRatio_(self, aspectRatio: NSSize) { @@ -570,7 +570,7 @@ impl NSWindow for id { } unsafe fn minSize(self) -> NSSize { - msg_send_stret()(self, selector("minSize")) + msg_send()(self, selector("minSize")) } unsafe fn setMinSize_(self, minSize: NSSize) { @@ -578,7 +578,7 @@ impl NSWindow for id { } unsafe fn maxSize(self) -> NSSize { - msg_send_stret()(self, selector("maxSize")) + msg_send()(self, selector("maxSize")) } unsafe fn setMaxSize_(self, maxSize: NSSize) { @@ -602,7 +602,7 @@ impl NSWindow for id { } unsafe fn resizeIncrements(self) -> NSSize { - msg_send_stret()(self, selector("resizeIncrements")) + msg_send()(self, selector("resizeIncrements")) } unsafe fn setResizeIncrements_(self, resizeIncrements: NSSize) { @@ -861,7 +861,7 @@ impl NSView for id { } unsafe fn convertPoint_fromView_(self, point: NSPoint, view: id) -> NSPoint { - msg_send_stret()(self, selector("convertPoint:fromView:"), point, view) + msg_send()(self, selector("convertPoint:fromView:"), point, view) } } @@ -1002,7 +1002,7 @@ impl NSEvent for id { } unsafe fn locationInWindow(self) -> NSPoint { - msg_send_stret()(self, selector("locationInWindow")) + msg_send()(self, selector("locationInWindow")) } unsafe fn characters(self) -> id {