Revision: 15517
          http://sourceforge.net/p/skim-app/code/15517
Author:   hofman
Date:     2025-06-21 21:17:24 +0000 (Sat, 21 Jun 2025)
Log Message:
-----------
rename notification handler

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

Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m   2025-06-21 16:42:26 UTC (rev 15516)
+++ trunk/SKMainWindowController_UI.m   2025-06-21 21:17:24 UTC (rev 15517)
@@ -2030,7 +2030,7 @@
     [self updateRightStatus];
 }
 
-- (void)handleApplicationWillTerminateNotification:(NSNotification 
*)notification {
+- (void)handleApplicationStartsTerminatingNotification:(NSNotification 
*)notification {
     if ([self interactionMode] == SKPresentationMode)
         [self exitPresentation];
 }
@@ -2119,7 +2119,7 @@
 - (void)registerForNotifications {
     NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
     // Application
-    [nc addObserver:self 
selector:@selector(handleApplicationWillTerminateNotification:) 
+    [nc addObserver:self 
selector:@selector(handleApplicationStartsTerminatingNotification:) 
                              name:SKApplicationStartsTerminatingNotification 
object:NSApp];
     [nc addObserver:self 
selector:@selector(handleApplicationDidResignActiveNotification:)
                              name:NSApplicationDidResignActiveNotification 
object:NSApp];

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to