From c900d4e6d5763d62a5813b261bffd932c1916c1f Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Tue, 25 Nov 2008 20:31:44 -0500 Subject: [PATCH] wrapping, spacing --- iPhoto2Ansel/AnselExportController.m | 11 ++++++----- iPhoto2Ansel/TURXMLConnection.m | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/iPhoto2Ansel/AnselExportController.m b/iPhoto2Ansel/AnselExportController.m index 21ffff5c7..744211893 100644 --- a/iPhoto2Ansel/AnselExportController.m +++ b/iPhoto2Ansel/AnselExportController.m @@ -70,7 +70,9 @@ [galleryCombo setDelegate:self]; [spinner startAnimation:self]; // Detach to a new thread and do the actual login/retrieval of gallery list - [NSApplication detachDrawingThread: @selector(connect) toTarget: self withObject: nil]; + [NSApplication detachDrawingThread: @selector(connect) + toTarget: self + withObject: nil]; [p release]; [pool release]; } @@ -82,14 +84,13 @@ // Make sure we're not doing this for nothing if ([anselController state] == TURAnselStateConnected && [[newGalleryName stringValue] length] > 0) { - [NSApplication detachDrawingThread:@selector(newGallery:) - toTarget:self - withObject:[newGalleryName stringValue]]; + [NSApplication detachDrawingThread: @selector(newGallery:) + toTarget: self + withObject: [newGalleryName stringValue]]; } } #pragma mark ExportPluginProtocol - // Initialize - (id)initWithExportImageObj:(id )obj { diff --git a/iPhoto2Ansel/TURXMLConnection.m b/iPhoto2Ansel/TURXMLConnection.m index cf39814ed..36877f322 100644 --- a/iPhoto2Ansel/TURXMLConnection.m +++ b/iPhoto2Ansel/TURXMLConnection.m @@ -14,13 +14,13 @@ static NSString *ERR_DOMAIN = @"com.theupstairsroom.XMLConnection"; - (TURXMLConnection *)initWithXMLRPCRequest: (XMLRPCRequest *)request - withCredentials:(NSDictionary *)credentials + withCredentials: (NSDictionary *)credentials { username = [[credentials objectForKey:@"username"] retain]; password = [[credentials objectForKey:@"password"] retain]; running = YES; - connection = [[XMLRPCConnection alloc] initWithXMLRPCRequest:request - delegate:self]; + connection = [[XMLRPCConnection alloc] initWithXMLRPCRequest: request + delegate: self]; return self; } -- 2.11.0