Revision: 18419
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18419&view=rev
Author: hofman
Date: 2012-01-18 12:50:54 +0000 (Wed, 18 Jan 2012)
Log Message:
-----------
Fix argument for method. No need to retain sheet controller.
Modified Paths:
--------------
trunk/bibdesk/BDSKFileMatcher.m
Modified: trunk/bibdesk/BDSKFileMatcher.m
===================================================================
--- trunk/bibdesk/BDSKFileMatcher.m 2012-01-18 12:37:48 UTC (rev 18418)
+++ trunk/bibdesk/BDSKFileMatcher.m 2012-01-18 12:50:54 UTC (rev 18419)
@@ -240,17 +240,15 @@
[progressIndicator stopAnimation:nil];
}
-- (void)configSheetDidEnd:(NSWindow *)sheet returnCode:(NSInteger)code
contextInfo:(void *)context;
+- (void)configSheetDidEnd:(BDSKFileMatchConfigController *)config
returnCode:(NSInteger)code contextInfo:(void *)context;
{
- BDSKFileMatchConfigController *config = (id)context;
- [config autorelease];
[self matchFiles:[config files] withPublications:[config publications]];
}
- (IBAction)configure:(id)sender;
{
- BDSKFileMatchConfigController *config = [[BDSKFileMatchConfigController
alloc] init];
- [config beginSheetModalForWindow:[self window] modalDelegate:self
didEndSelector:@selector(configSheetDidEnd:returnCode:contextInfo:)
contextInfo:config];
+ BDSKFileMatchConfigController *config = [[[BDSKFileMatchConfigController
alloc] init] autorelease];
+ [config beginSheetModalForWindow:[self window] modalDelegate:self
didEndSelector:@selector(configSheetDidEnd:returnCode:contextInfo:)
contextInfo:NULL];
}
#pragma mark Outline view drag-and-drop
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit