aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMWindowSheetController.m
diff options
context:
space:
mode:
Diffstat (limited to 'AppKit/GTMWindowSheetController.m')
-rw-r--r--AppKit/GTMWindowSheetController.m8
1 files changed, 0 insertions, 8 deletions
diff --git a/AppKit/GTMWindowSheetController.m b/AppKit/GTMWindowSheetController.m
index b8bacff..350403e 100644
--- a/AppKit/GTMWindowSheetController.m
+++ b/AppKit/GTMWindowSheetController.m
@@ -130,14 +130,6 @@ willPositionSheet:(NSWindow*)sheet
return self;
}
-- (void)finalize {
- _GTMDevAssert([sheets_ count] == 0,
- @"Finalizing a controller with sheets still active!");
- [[NSNotificationCenter defaultCenter] removeObserver:self];
-
- [super finalize];
-}
-
- (void)dealloc {
_GTMDevAssert([sheets_ count] == 0,
@"Deallocing a controller with sheets still active!");