Handy as this method might have been, nothing was using it. Instead of fixing the warning directly, by caching the info that the method returned, let's just kill it off.
authorPeter Hosey <hg@boredzo.org>
Sat Oct 10 12:04:41 2009 -0700 (2009-10-10)
changeset 450037955381cd55
parent 4499 9fefef3a977e
child 4501 c3d029da13dc
Handy as this method might have been, nothing was using it. Instead of fixing the warning directly, by caching the info that the method returned, let's just kill it off.
Core/Source/GrowlPluginController.h
Core/Source/GrowlPluginController.m
     1.1 --- a/Core/Source/GrowlPluginController.h	Sat Oct 10 12:01:18 2009 -0700
     1.2 +++ b/Core/Source/GrowlPluginController.h	Sat Oct 10 12:04:41 2009 -0700
     1.3 @@ -233,7 +233,6 @@
     1.4   */
     1.5  - (NSSet *) registeredPluginNames;
     1.6  - (NSArray *) registeredPluginNamesArray;
     1.7 -- (NSArray *) registeredPluginNamesArrayForType:(NSString *)type;
     1.8  
     1.9  #pragma mark -
    1.10  
     2.1 --- a/Core/Source/GrowlPluginController.m	Sat Oct 10 12:01:18 2009 -0700
     2.2 +++ b/Core/Source/GrowlPluginController.m	Sat Oct 10 12:04:41 2009 -0700
     2.3 @@ -574,12 +574,6 @@
     2.4  	return cache_registeredPluginNamesArray;
     2.5  }
     2.6  
     2.7 -- (NSArray *) registeredPluginNamesArrayForType:(NSString *)type {
     2.8 -#warning this should be cached per type
     2.9 -	return [[[pluginsByType valueForKey:type] allObjects] valueForKey:GrowlPluginInfoKeyName];
    2.10 -}
    2.11 -
    2.12 -
    2.13  #pragma mark -
    2.14  
    2.15  - (NSArray *) allPluginDictionariesArray {