From: | "Bernard Cafarelli (voyageur)" <voyageur@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in gnustep-apps/textedit/files: textedit-0.95_pre20100427-nsinvalidargument.patch |
Date: | Thu, 28 Mar 2013 15:03:29 |
Message-Id: | 20130328150325.E02B32171E@flycatcher.gentoo.org |
1 | voyageur 13/03/28 15:03:25 |
2 | |
3 | Added: textedit-0.95_pre20100427-nsinvalidargument.patch |
4 | Log: |
5 | Fix NSInvalidArgumentException on document creation, patch from Debian in bug #462786 |
6 | |
7 | (Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key C74525F2) |
8 | |
9 | Revision Changes Path |
10 | 1.1 gnustep-apps/textedit/files/textedit-0.95_pre20100427-nsinvalidargument.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-apps/textedit/files/textedit-0.95_pre20100427-nsinvalidargument.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-apps/textedit/files/textedit-0.95_pre20100427-nsinvalidargument.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: textedit-0.95_pre20100427-nsinvalidargument.patch |
16 | =================================================================== |
17 | --- textedit.app-4.0+20061029.orig/Document.m |
18 | +++ textedit.app-4.0+20061029/Document.m |
19 | @@ -124,12 +124,6 @@ |
20 | [self setViewSize: size]; |
21 | } |
22 | |
23 | - [[NSNotificationCenter defaultCenter] |
24 | - addObserver: self |
25 | - selector: @selector (fixUpScrollViewBackgroundColor:) |
26 | - name: NSSystemColorsDidChangeNotification |
27 | - object: nil]; |
28 | - |
29 | potentialSaveDirectory = nil; |
30 | return self; |
31 | } |
32 | @@ -195,10 +189,6 @@ |
33 | NSNotificationCenter *center = [NSNotificationCenter defaultCenter]; |
34 | |
35 | [center removeObserver: self |
36 | - name: NSSystemColorsDidChangeNotification |
37 | - object: nil]; |
38 | - |
39 | - [center removeObserver: self |
40 | name: NSTextStorageDidProcessEditingNotification |
41 | object: [self textStorage]]; |