Revision: 7710
http://skim-app.svn.sourceforge.net/skim-app/?rev=7710&view=rev
Author: hofman
Date: 2012-08-28 12:12:32 +0000 (Tue, 28 Aug 2012)
Log Message:
-----------
use local variable when we have it
Modified Paths:
--------------
trunk/SKApplication.m
Modified: trunk/SKApplication.m
===================================================================
--- trunk/SKApplication.m 2012-08-27 11:51:18 UTC (rev 7709)
+++ trunk/SKApplication.m 2012-08-28 12:12:32 UTC (rev 7710)
@@ -96,7 +96,7 @@
- (void)reorganizeWindowsItem:(NSWindow *)aWindow {
NSMenu *windowsMenu = [self windowsMenu];
NSWindowController *windowController = [aWindow windowController];
- NSDocument *document = [[aWindow windowController] document];
+ NSDocument *document = [windowController document];
NSWindowController *mainWindowController = [[document windowControllers]
objectAtIndex:0];
NSInteger numberOfItems = [windowsMenu numberOfItems];
NSInteger itemIndex = [windowsMenu indexOfItemWithTarget:aWindow
andAction:@selector(makeKeyAndOrderFront:)];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit