mirror of
https://github.com/transmission/transmission
synced 2025-01-31 03:12:44 +00:00
Take an int instead of an NSInteger for the Bonjour port
This commit is contained in:
parent
fadd8f704f
commit
bb9c73bda4
3 changed files with 5 additions and 5 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
+ (BonjourController *) defaultController;
|
||||
|
||||
- (void) startWithPort: (NSInteger) port;
|
||||
- (void) startWithPort: (int) port;
|
||||
- (void) stop;
|
||||
|
||||
@end
|
||||
|
|
|
@ -45,7 +45,7 @@ BonjourController * fDefaultController = nil;
|
|||
[super dealloc];
|
||||
}
|
||||
|
||||
- (void) startWithPort: (NSInteger) port
|
||||
- (void) startWithPort: (int) port
|
||||
{
|
||||
[self stop];
|
||||
|
||||
|
|
|
@ -1962,7 +1962,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
|
||||
NSString * location = [torrent dataLocation];
|
||||
|
||||
NSString *notificationTitle = NSLocalizedString(@"Download Complete", "notification title");
|
||||
NSString * notificationTitle = NSLocalizedString(@"Download Complete", "notification title");
|
||||
if ([NSApp isOnMountainLionOrBetter])
|
||||
{
|
||||
NSUserNotification * notification = [[NSUserNotificationMtLion alloc] init];
|
||||
|
@ -2028,7 +2028,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
|
||||
NSString * location = [torrent dataLocation];
|
||||
|
||||
NSString *notificationTitle = NSLocalizedString(@"Seeding Complete", "notification title");
|
||||
NSString * notificationTitle = NSLocalizedString(@"Seeding Complete", "notification title");
|
||||
if ([NSApp isOnMountainLionOrBetter])
|
||||
{
|
||||
NSUserNotification * notification = [[NSUserNotificationMtLion alloc] init];
|
||||
|
@ -2967,7 +2967,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
case TR_PARSE_OK:
|
||||
[self openFiles: [NSArray arrayWithObject: fullFile] addType: ADD_AUTO forcePath: nil];
|
||||
|
||||
NSString *notificationTitle = NSLocalizedString(@"Torrent File Auto Added", "notification title");
|
||||
NSString * notificationTitle = NSLocalizedString(@"Torrent File Auto Added", "notification title");
|
||||
if ([NSApp isOnMountainLionOrBetter])
|
||||
{
|
||||
NSUserNotification* notification = [[NSUserNotificationMtLion alloc] init];
|
||||
|
|
Loading…
Reference in a new issue