Add the corresponding code in dealloc to the last change.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28800 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2009-10-11 16:03:49 +00:00
parent 28c709afdf
commit be1045089a
2 changed files with 11 additions and 0 deletions

View file

@ -170,6 +170,12 @@
return self;
}
- (void) dealloc
{
[[NSNotificationCenter defaultCenter] removeObserver: self];
[super dealloc];
}
- (void) drawRect: (NSRect)rect
{
[[GSTheme theme] drawWindowBorder: rect