Revision: 6868
http://skim-app.svn.sourceforge.net/skim-app/?rev=6868&view=rev
Author: hofman
Date: 2010-10-05 10:10:24 +0000 (Tue, 05 Oct 2010)
Log Message:
-----------
unbind textview in note window
Modified Paths:
--------------
trunk/SKNoteWindowController.m
Modified: trunk/SKNoteWindowController.m
===================================================================
--- trunk/SKNoteWindowController.m 2010-10-05 10:07:10 UTC (rev 6867)
+++ trunk/SKNoteWindowController.m 2010-10-05 10:10:24 UTC (rev 6868)
@@ -120,6 +120,8 @@
}
- (void)dealloc {
+ @try { [textView unbind:[self isNoteType] ? @"attributedString" :
@"value"]; }
+ @catch (id e) {}
[note removeObserver:self forKeyPath:SKNPDFAnnotationPageKey];
[note removeObserver:self forKeyPath:SKNPDFAnnotationBoundsKey];
[note removeObserver:self forKeyPath:SKNPDFAnnotationStringKey];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit