зеркало из 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;
|
NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT;
|
||||||
|
|
||||||
if ([GrowlApplicationBridge isGrowlInstalled] == NO ||
|
if ([GrowlApplicationBridge isGrowlRunning] == NO)
|
||||||
[GrowlApplicationBridge isGrowlRunning] == NO)
|
|
||||||
return NS_ERROR_NOT_AVAILABLE;
|
return NS_ERROR_NOT_AVAILABLE;
|
||||||
|
|
||||||
mozGrowlDelegate *delegate =
|
mozGrowlDelegate *delegate =
|
||||||
|
@ -146,9 +145,6 @@ nsAlertsService::Init()
|
||||||
{
|
{
|
||||||
NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT;
|
NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT;
|
||||||
|
|
||||||
if ([GrowlApplicationBridge isGrowlInstalled] == NO)
|
|
||||||
return NS_ERROR_SERVICE_NOT_AVAILABLE;
|
|
||||||
|
|
||||||
NS_ASSERTION([GrowlApplicationBridge growlDelegate] == nil,
|
NS_ASSERTION([GrowlApplicationBridge growlDelegate] == nil,
|
||||||
"We already registered with Growl!");
|
"We already registered with Growl!");
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче