aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/SPGrowlController.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/SPGrowlController.m b/Source/SPGrowlController.m
index b34443f4..9558208e 100644
--- a/Source/SPGrowlController.m
+++ b/Source/SPGrowlController.m
@@ -95,6 +95,7 @@ static SPGrowlController *sharedGrowlController = nil;
}
NSMutableDictionary *notificationDictionary = [NSMutableDictionary dictionary];
+
[notificationDictionary setObject:title forKey:@"title"];
[notificationDictionary setObject:description forKey:@"description"];
[notificationDictionary setObject:document forKey:@"document"];
@@ -192,7 +193,10 @@ static SPGrowlController *sharedGrowlController = nil;
*/
- (void)setVisibilityForNotificationName:(NSString *)name
{
- if (timingNotificationName) [timingNotificationName release], timingNotificationName = nil;
+ if (timingNotificationName) {
+ [timingNotificationName release], timingNotificationName = nil;
+ }
+
timingNotificationName = [[NSString alloc] initWithString:name];
timingNotificationStart = [NSDate monotonicTimeInterval];
}