Revision: 7011
http://skim-app.svn.sourceforge.net/skim-app/?rev=7011&view=rev
Author: hofman
Date: 2010-12-23 23:52:34 +0000 (Thu, 23 Dec 2010)
Log Message:
-----------
send message directly instead of through performSelector
Modified Paths:
--------------
trunk/SKApplication.m
Modified: trunk/SKApplication.m
===================================================================
--- trunk/SKApplication.m 2010-12-23 18:22:26 UTC (rev 7010)
+++ trunk/SKApplication.m 2010-12-23 23:52:34 UTC (rev 7011)
@@ -56,7 +56,7 @@
if ([anEvent type] == NSScrollWheel && ([anEvent modifierFlags] &
NSAlternateKeyMask)) {
id target = [self targetForAction:@selector(magnifyWheel:)];
if (target) {
- [target performSelector:@selector(magnifyWheel:)
withObject:anEvent];
+ [target magnifyWheel:anEvent];
return;
}
} else if ([anEvent type] == NSApplicationDefined && [anEvent subtype] ==
SKRemoteButtonEvent) {
@@ -67,7 +67,7 @@
target = nil;
}
if (target) {
- [target performSelector:@selector(remoteButtonPressed:)
withObject:anEvent];
+ [target remoteButtonPressed:anEvent];
return;
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit