Revision: 4519
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4519&view=rev
Author:   hofman
Date:     2008-09-01 23:47:35 +0000 (Mon, 01 Sep 2008)

Log Message:
-----------
Ignore unbind exception from possibly unbound color swatch

Modified Paths:
--------------
    trunk/SKMainWindowController.m

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2008-09-01 23:31:30 UTC (rev 4518)
+++ trunk/SKMainWindowController.m      2008-09-01 23:47:35 UTC (rev 4519)
@@ -264,7 +264,8 @@
 - (void)dealloc {
     [self stopObservingNotes:[self notes]];
     [undoGroupOldPropertiesPerNote release];
-    [colorSwatch unbind:SKColorSwatchColorsKey];
+    @try { [colorSwatch unbind:SKColorSwatchColorsKey]; }
+    @catch (id e) {}
        [[NSNotificationCenter defaultCenter] removeObserver: self];
     [self unregisterAsObserver];
     [(id)temporaryAnnotations release];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to