adium 2217:de8aff1d4f5e: Remove as an observer after the notific...

commits at adium.im commits at adium.im
Sun May 17 01:56:12 UTC 2009


details:	http://hg.adium.im/adium/rev/de8aff1d4f5e
revision:	2217:de8aff1d4f5e
author:		Zachary West <zacw at adium.im>
date:		Sat May 16 21:56:08 2009 -0400

Remove as an observer after the notification is posted.

diffstat:

 Source/AIAdvancedInspectorPane.m |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 32be8318402c -r de8aff1d4f5e Source/AIAdvancedInspectorPane.m
--- a/Source/AIAdvancedInspectorPane.m	Sat May 16 21:54:22 2009 -0400
+++ b/Source/AIAdvancedInspectorPane.m	Sat May 16 21:56:08 2009 -0400
@@ -269,6 +269,10 @@
 		[tableView_groups deselectAll:nil];
 		[tableView_groups reloadData];
 	}
+	
+	[[NSNotificationCenter defaultCenter] removeObserver:self
+													name:@"NewGroupWindowControllerDidEnd"
+												  object:notification.object];
 }
 
 - (void)selectGroup:(id)sender




More information about the commits mailing list