Fix camino bustage from bug 394346 (hopefully)

This commit is contained in:
ajschult@verizon.net 2007-09-21 20:58:21 -07:00
parent 141c97a0d7
commit 6bd799f574
2 changed files with 5 additions and 3 deletions

View File

@ -40,7 +40,7 @@
#include "nsISupports.idl"
#include "nsIObserver.idl"
[scriptable, uuid(3A3C2953-01EE-4D9C-A102-5AA0D7BD444C)]
[scriptable, uuid(33d256d8-c002-4840-af73-811b2ec20079)]
interface nsIAlertsService : nsISupports
{
/**
@ -70,7 +70,8 @@ interface nsIAlertsService : nsISupports
in AString text,
in boolean textClickable,
in AString cookie,
in nsIObserver alertListener);
in nsIObserver alertListener,
in AString name);
};
%{ C++

View File

@ -69,7 +69,8 @@ nsAlertsService::~nsAlertsService()
NS_IMETHODIMP nsAlertsService::ShowAlertNotification(const nsAString & aImageUrl, const nsAString & aAlertTitle,
const nsAString & aAlertText, PRBool aAlertTextClickable,
const nsAString & aAlertCookie,
nsIObserver * aAlertListener)
nsIObserver * aAlertListener,
const nsAString & aAlertName)
{
nsCOMPtr<nsIWindowWatcher> wwatch(do_GetService(NS_WINDOWWATCHER_CONTRACTID));
nsCOMPtr<nsIDOMWindow> newWindow;