Revision: 12449
          http://sourceforge.net/p/skim-app/code/12449
Author:   hofman
Date:     2021-10-04 09:09:28 +0000 (Mon, 04 Oct 2021)
Log Message:
-----------
No need to override setContentView, we only do this now when setting up the 
window initially when there are no subviews, or when we explicitly set them up

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

Modified: trunk/SKAnimatedBorderlessWindow.m
===================================================================
--- trunk/SKAnimatedBorderlessWindow.m  2021-10-04 08:57:42 UTC (rev 12448)
+++ trunk/SKAnimatedBorderlessWindow.m  2021-10-04 09:09:28 UTC (rev 12449)
@@ -180,12 +180,4 @@
     [imageView setImage:newBackgroundImage];
 }
 
-- (void)setContentView:(NSView *)contentView {
-    NSArray *subviews = [[[self contentView] subviews] copy];
-    [super setContentView:contentView];
-    for (NSView *view in subviews)
-        [contentView addSubview:view];
-    [subviews release];
-}
-
 @end

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