Revision: 6848
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6848&view=rev
Author:   hofman
Date:     2010-09-28 16:55:06 +0000 (Tue, 28 Sep 2010)

Log Message:
-----------
rename variable

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2010-09-28 09:52:27 UTC (rev 6847)
+++ trunk/SKMainWindowController.m      2010-09-28 16:55:06 UTC (rev 6848)
@@ -146,7 +146,7 @@
 
 #define SKMainWindowFrameAutosaveName @"SKMainWindow"
 
-static char SKNPDFAnnotationPropertiesObservationContext;
+static char SKPDFAnnotationPropertiesObservationContext;
 
 static char SKMainWindowDefaultsObservationContext;
 
@@ -2139,7 +2139,7 @@
     for (PDFAnnotation *note in newNotes) {
         for (NSString *key in [note keysForValuesToObserveForUndo]) {
             // We use NSKeyValueObservingOptionOld because when something 
changes we want to record the old value, which is what has to be set in the 
undo operation. We use NSKeyValueObservingOptionNew because we compare the new 
value against the old value in an attempt to ignore changes that aren't really 
changes.
-            [note addObserver:self forKeyPath:key 
options:(NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld) 
context:&SKNPDFAnnotationPropertiesObservationContext];
+            [note addObserver:self forKeyPath:key 
options:(NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld) 
context:&SKPDFAnnotationPropertiesObservationContext];
         }
     }
 }
@@ -2236,7 +2236,7 @@
             [self 
updatePageColumnWidthForTableView:leftSideController.groupedFindTableView];
         }
         
-    } else if (context == &SKNPDFAnnotationPropertiesObservationContext) {
+    } else if (context == &SKPDFAnnotationPropertiesObservationContext) {
         
         // The value of some note's property has changed
         PDFAnnotation *note = (PDFAnnotation *)object;


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

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to