Revision: 24059
          http://sourceforge.net/p/bibdesk/svn/24059
Author:   hofman
Date:     2019-07-19 09:25:43 +0000 (Fri, 19 Jul 2019)
Log Message:
-----------
just use @selector

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

Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m     2019-07-19 06:30:23 UTC (rev 24058)
+++ trunk/bibdesk/BibItem.m     2019-07-19 09:25:43 UTC (rev 24059)
@@ -218,11 +218,11 @@
     // Create a table of field/SEL pairs used for searching
     NSMapTable *mapTable = NSCreateMapTable(NSObjectMapKeyCallBacks, 
NSNonOwnedPointerMapValueCallBacks, 0);
     
-    NSMapInsert(mapTable, BDSKTitleString, NSSelectorFromString(@"title"));
-    NSMapInsert(mapTable, BDSKAuthorString, 
NSSelectorFromString(@"bibTeXAuthorString"));
-    NSMapInsert(mapTable, BDSKAllFieldsString, 
NSSelectorFromString(@"allFieldsString"));
-    NSMapInsert(mapTable, BDSKPubTypeString, NSSelectorFromString(@"pubType"));
-    NSMapInsert(mapTable, BDSKCiteKeyString, NSSelectorFromString(@"citeKey"));
+    NSMapInsert(mapTable, BDSKTitleString, @selector(title));
+    NSMapInsert(mapTable, BDSKAuthorString, @selector(bibTeXAuthorString));
+    NSMapInsert(mapTable, BDSKAllFieldsString, @selector(allFieldsString));
+    NSMapInsert(mapTable, BDSKPubTypeString, @selector(pubType));
+    NSMapInsert(mapTable, BDSKCiteKeyString, @selector(citeKey));
     
     selectorTable = NSCopyMapTableWithZone(mapTable, NULL);
     NSFreeMapTable(mapTable);

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



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to