1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

warnings-- and a little tidying up

This commit is contained in:
Mitchell Livingston 2008-04-24 21:37:46 +00:00
parent eaf4ecc37a
commit 5345d5fa12
2 changed files with 7 additions and 6 deletions

View file

@ -31,11 +31,12 @@
NSImage * fDockIcon, * fBadge;
NSDictionary * fAttributes;
int fCompleted, fCompletedBadged;
BOOL fSpeedBadge;
int fCompleted;
BOOL fQuittingTiger;
//tiger-only fields
NSDictionary * fAttributes;
int fCompletedBadged;
BOOL fSpeedBadge, fQuittingTiger;
}
- (id) initWithLib: (tr_handle *) lib;

View file

@ -73,7 +73,8 @@
{
[[NSNotificationCenter defaultCenter] removeObserver: self];
[NSApp setApplicationIconImage: nil]; //needed on 10.4
if (![NSApp isOnLeopardOrBetter])
[NSApp setApplicationIconImage: nil]; //needed on 10.4
[fDockIcon release];
[fAttributes release];
@ -241,7 +242,6 @@
}
}
#warning see if it now quits fast enough to not need this?
- (void) setQuitting
{
if ([NSApp isOnLeopardOrBetter])