blob: 345a0641fcbce357b1b413557ce5fbc4c869c07c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- textedit.app-4.0+20061029.orig/Document.m
+++ textedit.app-4.0+20061029/Document.m
@@ -124,12 +124,6 @@
[self setViewSize: size];
}
- [[NSNotificationCenter defaultCenter]
- addObserver: self
- selector: @selector (fixUpScrollViewBackgroundColor:)
- name: NSSystemColorsDidChangeNotification
- object: nil];
-
potentialSaveDirectory = nil;
return self;
}
@@ -195,10 +189,6 @@
NSNotificationCenter *center = [NSNotificationCenter defaultCenter];
[center removeObserver: self
- name: NSSystemColorsDidChangeNotification
- object: nil];
-
- [center removeObserver: self
name: NSTextStorageDidProcessEditingNotification
object: [self textStorage]];
|