зеркало из https://github.com/mozilla/pjs.git
Bug 691662 - Remove unnecessary condition which doesn't work with Growl 1.3. r=sdwilsh
This commit is contained in:
Родитель
75eda8497d
Коммит
0050469939
|
@ -92,8 +92,7 @@ DispatchNamedNotification(const nsAString &aName,
|
|||
{
|
||||
NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT;
|
||||
|
||||
if ([GrowlApplicationBridge isGrowlInstalled] == NO ||
|
||||
[GrowlApplicationBridge isGrowlRunning] == NO)
|
||||
if ([GrowlApplicationBridge isGrowlRunning] == NO)
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
|
||||
mozGrowlDelegate *delegate =
|
||||
|
@ -146,9 +145,6 @@ nsAlertsService::Init()
|
|||
{
|
||||
NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT;
|
||||
|
||||
if ([GrowlApplicationBridge isGrowlInstalled] == NO)
|
||||
return NS_ERROR_SERVICE_NOT_AVAILABLE;
|
||||
|
||||
NS_ASSERTION([GrowlApplicationBridge growlDelegate] == nil,
|
||||
"We already registered with Growl!");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче