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:
parent
eaf4ecc37a
commit
5345d5fa12
2 changed files with 7 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -73,6 +73,7 @@
|
|||
{
|
||||
[[NSNotificationCenter defaultCenter] removeObserver: self];
|
||||
|
||||
if (![NSApp isOnLeopardOrBetter])
|
||||
[NSApp setApplicationIconImage: nil]; //needed on 10.4
|
||||
|
||||
[fDockIcon release];
|
||||
|
@ -241,7 +242,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
#warning see if it now quits fast enough to not need this?
|
||||
- (void) setQuitting
|
||||
{
|
||||
if ([NSApp isOnLeopardOrBetter])
|
||||
|
|
Loading…
Reference in a new issue