Revision: 4322
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4322&view=rev
Author:   hofman
Date:     2008-07-29 17:11:39 +0000 (Tue, 29 Jul 2008)

Log Message:
-----------
don't check for selector for 10.3

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

Modified: trunk/SKStatusBar.m
===================================================================
--- trunk/SKStatusBar.m 2008-07-28 23:20:24 UTC (rev 4321)
+++ trunk/SKStatusBar.m 2008-07-29 17:11:39 UTC (rev 4322)
@@ -200,10 +200,7 @@
 }
 
 - (BOOL)isVisible {
-       BOOL isVisible = ([self superview] != nil);
-       if (isVisible && [self respondsToSelector:@selector(isHidden)])
-               isVisible = ([self isHidden] == NO);
-       return isVisible;
+       return [self superview] && [self isHidden] == NO;
 }
 
 - (void)toggleBelowView:(NSView *)view offset:(float)offset {


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to