Renamed -[Message showNotification] to -[Message GMShowNotification] to prevent namespace collisions if Apple ever adds a showNotification method of its own to the Message class.
authorPeter Hosey
Tue Feb 24 20:17:30 2009 -0800 (2009-02-24)
changeset 4170caae0ed9a580
parent 4169 ced164ac8c9c
child 4171 2918a61fe9b3
Renamed -[Message showNotification] to -[Message GMShowNotification] to prevent namespace collisions if Apple ever adds a showNotification method of its own to the Message class.
Extras/GrowlMail/GrowlMail.m
Extras/GrowlMail/Message+GrowlMail.h
Extras/GrowlMail/Message+GrowlMail.m
     1.1 --- a/Extras/GrowlMail/GrowlMail.m	Tue Feb 24 22:16:17 2009 -0800
     1.2 +++ b/Extras/GrowlMail/GrowlMail.m	Tue Feb 24 20:17:30 2009 -0800
     1.3 @@ -283,7 +283,7 @@
     1.4  		 * We're making some assumptions about Mail's internals, but the fact that notifications are posted on auxiliary threads
     1.5  		 * and then again with a _inMainThread_ suffix on the main thread indicates that threads are being used for mail access elsewhere.
     1.6  		 */
     1.7 -		[NSThread detachNewThreadSelector:@selector(showNotification)
     1.8 +		[NSThread detachNewThreadSelector:@selector(GMShowNotification)
     1.9  								 toTarget:message
    1.10  							   withObject:nil];
    1.11  	} else {
     2.1 --- a/Extras/GrowlMail/Message+GrowlMail.h	Tue Feb 24 22:16:17 2009 -0800
     2.2 +++ b/Extras/GrowlMail/Message+GrowlMail.h	Tue Feb 24 20:17:30 2009 -0800
     2.3 @@ -35,5 +35,5 @@
     2.4  #import "MailHeaders.h"
     2.5  
     2.6  @interface Message(GrowlMail)
     2.7 -- (void) showNotification;
     2.8 +- (void) GMShowNotification;
     2.9  @end
     3.1 --- a/Extras/GrowlMail/Message+GrowlMail.m	Tue Feb 24 22:16:17 2009 -0800
     3.2 +++ b/Extras/GrowlMail/Message+GrowlMail.m	Tue Feb 24 20:17:30 2009 -0800
     3.3 @@ -56,7 +56,7 @@
     3.4   *
     3.5   * This should be called on an auxiliary thread as it may block.
     3.6   */
     3.7 -- (void) showNotification
     3.8 +- (void) GMShowNotification
     3.9  {
    3.10  	NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    3.11