Revision: 15228
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=15228&view=rev
Author:   hofman
Date:     2009-04-29 10:50:41 +0000 (Wed, 29 Apr 2009)

Log Message:
-----------
use correct method and function to replace instance methods

Modified Paths:
--------------
    trunk/bibdesk/NSTableView_BDSKExtensions.m

Modified: trunk/bibdesk/NSTableView_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/NSTableView_BDSKExtensions.m  2009-04-29 10:09:37 UTC (rev 
15227)
+++ trunk/bibdesk/NSTableView_BDSKExtensions.m  2009-04-29 10:50:41 UTC (rev 
15228)
@@ -80,9 +80,9 @@
     [self unlockFocus];
 }
 
-- (void)load {
++ (void)load {
     if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_4)
-        BDSKReplaceInstanceMethodImplementation(self, 
@selector(_drawDropHighlightOnRow:), 
@selector(replacement_drawDropHighlightOnRow:));
+        BDSKReplaceInstanceMethodImplementationFromSelector(self, 
@selector(_drawDropHighlightOnRow:), 
@selector(replacement_drawDropHighlightOnRow:));
 }
 
 #else
@@ -102,9 +102,9 @@
     return cell;
 }
 
-- (void)load {
++ (void)load {
     if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_4)
-        BDSKReplaceInstanceMethodImplementation(self, 
@selector(dataCellForRow:), @selector(replacement_dataCellForRow:));
+        BDSKReplaceInstanceMethodImplementationFromSelector(self, 
@selector(dataCellForRow:), @selector(replacement_dataCellForRow:));
 }
 
 @end


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to