diff options
author | dynaflash <[email protected]> | 2007-08-27 18:57:49 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2007-08-27 18:57:49 +0000 |
commit | 9f3728e88693ae501dce5a83d7d2852566167238 (patch) | |
tree | 767451246e445fbbbae64b2fc96d58b57ec5477a | |
parent | 09d851783de56a10d435dbe4a7878b0d993ab702 (diff) |
MacGui: set the GrowlDelegate to self, should prevent two instances of the HBController object.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@879 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | macosx/Controller.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 5410ba041..33c6e25fa 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -80,8 +80,7 @@ static NSString* ChooseSourceIdentifier = @"Choose Source Item Identifie fHandle = hb_init(debugLevel, [[NSUserDefaults standardUserDefaults] boolForKey:@"CheckForUpdates"]); // Set the Growl Delegate - HBController *hbGrowlDelegate = [[HBController alloc] init]; - [GrowlApplicationBridge setGrowlDelegate: hbGrowlDelegate]; + [GrowlApplicationBridge setGrowlDelegate: self]; /* Init others controllers */ [fPictureController SetHandle: fHandle]; [fQueueController SetHandle: fHandle]; |