Fixed leaking click contexts when notifications fade out or are clicked, reported by Wim Leers.
authorPeter Hosey <hg@boredzo.org>
Tue Apr 06 23:31:35 2010 -0700 (2010-04-06)
changeset 4610275650724c61
parent 4609 f8ebcae026f6
child 4611 678d4e7e792a
Fixed leaking click contexts when notifications fade out or are clicked, reported by Wim Leers.
Plugins/Displays/GrowlDisplayWindowController.m
     1.1 --- a/Plugins/Displays/GrowlDisplayWindowController.m	Tue Apr 06 23:29:39 2010 -0700
     1.2 +++ b/Plugins/Displays/GrowlDisplayWindowController.m	Tue Apr 06 23:31:35 2010 -0700
     1.3 @@ -308,7 +308,7 @@
     1.4  		[userInfo release];
     1.5  
     1.6  		//Avoid duplicate click messages by immediately clearing the clickContext
     1.7 -		clickContext = nil;
     1.8 +		[self setClickContext:nil];
     1.9  	}
    1.10  	[nc postNotificationName:GrowlDisplayWindowControllerDidTakeWindowDownNotification object:self];
    1.11  }
    1.12 @@ -329,7 +329,7 @@
    1.13  		[userInfo release];
    1.14  
    1.15  		//Avoid duplicate click messages by immediately clearing the clickContext
    1.16 -		clickContext = nil;
    1.17 +		[self setClickContext:nil];
    1.18  	}
    1.19  
    1.20  	if (target && action && [target respondsToSelector:action])