Revision: 13524
          http://sourceforge.net/p/skim-app/code/13524
Author:   hofman
Date:     2023-07-02 16:38:38 +0000 (Sun, 02 Jul 2023)
Log Message:
-----------
escape warnings for newer method

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

Modified: trunk/SKThumbnailView.m
===================================================================
--- trunk/SKThumbnailView.m     2023-07-02 16:28:42 UTC (rev 13523)
+++ trunk/SKThumbnailView.m     2023-07-02 16:38:38 UTC (rev 13524)
@@ -194,16 +194,15 @@
         if ([self isSelected] || [self isMenuHighlighted]) {
             if (imageHighlightView == nil) {
                 imageHighlightView = [self newHighlightView];
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wpartial-availability"
-                [imageHighlightView setEmphasized:NO];
-#pragma clang diagnostic pop
                 [imageHighlightView setFrame:NSInsetRect([imageView frame], 
-SELECTION_MARGIN, -SELECTION_MARGIN)];
                 [imageHighlightView setAutoresizingMask:NSViewWidthSizable | 
NSViewHeightSizable];
                 [self addSubview:imageHighlightView positioned:NSWindowBelow 
relativeTo:nil];
                 [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(updateImageHighlightMask:) 
name:NSViewFrameDidChangeNotification object:imageHighlightView];
             }
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wpartial-availability"
             [imageHighlightView setEmphasized:[self isMenuHighlighted]];
+#pragma clang diagnostic pop
             [self updateImageHighlightMask:nil];
         } else if (imageHighlightView) {
             [[NSNotificationCenter defaultCenter] removeObserver:self 
name:NSViewFrameDidChangeNotification object:imageHighlightView];

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



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to