Revision: 5071
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5071&view=rev
Author:   hofman
Date:     2008-12-16 18:33:17 +0000 (Tue, 16 Dec 2008)

Log Message:
-----------
Revert a previous commit. Don't override designated window initializers, as the 
default inheritance is a mess.

Modified Paths:
--------------
    trunk/SKAnimatedBorderlessWindow.m
    trunk/SKBorderlessImageWindow.m
    trunk/SKFullScreenWindow.m
    trunk/SKNavigationWindow.m
    trunk/SKPDFToolTipWindow.m
    trunk/SKRemoteStateWindow.m
    trunk/SKSideWindow.m
    trunk/SKTransitionController.m

Modified: trunk/SKAnimatedBorderlessWindow.m
===================================================================
--- trunk/SKAnimatedBorderlessWindow.m  2008-12-16 18:19:14 UTC (rev 5070)
+++ trunk/SKAnimatedBorderlessWindow.m  2008-12-16 18:33:17 UTC (rev 5071)
@@ -56,18 +56,6 @@
     return self;
 }
 
-- (id)initWithContentRect:(NSRect)contentRect {
-    return [self initWithContentRect:contentRect screen:nil];
-}
-
-- (id)initWithContentRect:(NSRect)contentRect 
styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType 
defer:(BOOL)deferCreation {
-    return [self initWithContentRect:contentRect screen:nil];
-}
-
-- (id)initWithContentRect:(NSRect)contentRect 
styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType 
defer:(BOOL)deferCreation screen:(NSScreen *)screen {
-    return [self initWithContentRect:contentRect screen:screen];
-}
-
 - (void)dealloc {
     [self stopAnimation];
     [super dealloc];

Modified: trunk/SKBorderlessImageWindow.m
===================================================================
--- trunk/SKBorderlessImageWindow.m     2008-12-16 18:19:14 UTC (rev 5070)
+++ trunk/SKBorderlessImageWindow.m     2008-12-16 18:33:17 UTC (rev 5071)
@@ -55,10 +55,6 @@
     return self;
 }
 
-- (id)initWithContentRect:(NSRect)contentRect 
styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType 
defer:(BOOL)deferCreation {
-    return [self initWithContentRect:contentRect image:nil];
-}
-
 - (BOOL)canBecomeMainWindow { return NO; }
 
 - (BOOL)canBecomeKeyWindow { return NO; }

Modified: trunk/SKFullScreenWindow.m
===================================================================
--- trunk/SKFullScreenWindow.m  2008-12-16 18:19:14 UTC (rev 5070)
+++ trunk/SKFullScreenWindow.m  2008-12-16 18:33:17 UTC (rev 5071)
@@ -55,14 +55,6 @@
     return self;
 }
 
-- (id)initWithContentRect:(NSRect)contentRect 
styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType 
defer:(BOOL)deferCreation {
-    return [self initWithScreen:nil];
-}
-
-- (id)initWithContentRect:(NSRect)contentRect 
styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType 
defer:(BOOL)deferCreation screen:(NSScreen *)screen {
-    return [self initWithScreen:screen];
-}
-
 - (void)stopAnimation {
     [animation stopAnimation];
     [animation release];

Modified: trunk/SKNavigationWindow.m
===================================================================
--- trunk/SKNavigationWindow.m  2008-12-16 18:19:14 UTC (rev 5070)
+++ trunk/SKNavigationWindow.m  2008-12-16 18:33:17 UTC (rev 5071)
@@ -129,10 +129,6 @@
     return self;
 }
 
-- (id)initWithContentRect:(NSRect)contentRect screen:(NSScreen *)screen {
-    return [self initWithPDFView:nil];
-}
-
 - (void)dealloc {
     [[NSNotificationCenter defaultCenter] removeObserver:self];
     [zoomButton release];

Modified: trunk/SKPDFToolTipWindow.m
===================================================================
--- trunk/SKPDFToolTipWindow.m  2008-12-16 18:19:14 UTC (rev 5070)
+++ trunk/SKPDFToolTipWindow.m  2008-12-16 18:33:17 UTC (rev 5071)
@@ -106,10 +106,6 @@
     return sharedToolTipWindow;
 }
 
-- (id)initWithContentRect:(NSRect)contentRect screen:(NSScreen *)screen {
-    return [self init];
-}
-
 - (void)dealloc {
     [font release];
     [backgroundColor release];

Modified: trunk/SKRemoteStateWindow.m
===================================================================
--- trunk/SKRemoteStateWindow.m 2008-12-16 18:19:14 UTC (rev 5070)
+++ trunk/SKRemoteStateWindow.m 2008-12-16 18:33:17 UTC (rev 5071)
@@ -80,10 +80,6 @@
     return sharedRemoteStateWindow;
 }
 
-- (id)initWithContentRect:(NSRect)contentRect screen:(NSScreen *)screen {
-    return [self init];
-}
-
 - (id)retain { return self; }
 
 - (id)autorelease { return self; }

Modified: trunk/SKSideWindow.m
===================================================================
--- trunk/SKSideWindow.m        2008-12-16 18:19:14 UTC (rev 5070)
+++ trunk/SKSideWindow.m        2008-12-16 18:33:17 UTC (rev 5071)
@@ -77,10 +77,6 @@
     return self;
 }
 
-- (id)initWithContentRect:(NSRect)contentRect 
styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType 
defer:(BOOL)deferCreation {
-    return [self initWithMainController:nil edge:NSMinXEdge];
-}
-
 - (BOOL)canBecomeMainWindow { return NO; }
 
 - (BOOL)canBecomeKeyWindow { return YES; }

Modified: trunk/SKTransitionController.m
===================================================================
--- trunk/SKTransitionController.m      2008-12-16 18:19:14 UTC (rev 5070)
+++ trunk/SKTransitionController.m      2008-12-16 18:33:17 UTC (rev 5071)
@@ -615,10 +615,6 @@
     return self;
 }
 
-- (id)initWithContentRect:(NSRect)contentRect 
styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType 
defer:(BOOL)deferCreation {
-    return [self init];
-}
-
 - (BOOL)canBecomeMainWindow { return NO; }
 - (BOOL)canBecomeKeyWindow { return NO; }
 


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

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to