From a1c576b83ce096538574b16a968c867d0cabc566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Rameau?= Date: Fri, 3 Feb 2006 13:35:53 +0000 Subject: Fix compilation against trunk + some typos. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2006-02-03 Jean-François Rameau * embed/mozilla/EphyPromptService.h: * embed/mozilla/EphyPromptService.cpp: (ShowNonBlockingAlert): * embed/mozilla/AutoJSContextStack.cpp: Fix compilation against trunk + some typos. --- embed/mozilla/AutoJSContextStack.cpp | 1 - embed/mozilla/EphyPromptService.cpp | 2 +- embed/mozilla/EphyPromptService.h | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'embed') diff --git a/embed/mozilla/AutoJSContextStack.cpp b/embed/mozilla/AutoJSContextStack.cpp index 77bbb81eb..0098f19eb 100644 --- a/embed/mozilla/AutoJSContextStack.cpp +++ b/embed/mozilla/AutoJSContextStack.cpp @@ -24,7 +24,6 @@ #include "AutoJSContextStack.h" #include -#include AutoJSContextStack::~AutoJSContextStack() { diff --git a/embed/mozilla/EphyPromptService.cpp b/embed/mozilla/EphyPromptService.cpp index 1d251d051..32a158b09 100644 --- a/embed/mozilla/EphyPromptService.cpp +++ b/embed/mozilla/EphyPromptService.cpp @@ -878,7 +878,7 @@ EphyPromptService::ShowNonBlockingAlert (nsIDOMWindow *aParent, if (!prompt) return NS_ERROR_OUT_OF_MEMORY; prompt->AddStockButton (GTK_STOCK_OK, GTK_RESPONSE_ACCEPT); - prompt->ShowAndForget (); + Prompter::ShowAndForget (prompt); return NS_OK; } diff --git a/embed/mozilla/EphyPromptService.h b/embed/mozilla/EphyPromptService.h index 915ecf947..064ccf402 100644 --- a/embed/mozilla/EphyPromptService.h +++ b/embed/mozilla/EphyPromptService.h @@ -43,7 +43,7 @@ public: NS_DECL_ISUPPORTS NS_DECL_NSIPROMPTSERVICE #if HAVE_NSINONBLOCKINGALERTSERVICE_H - NS_DECL_NSINONBLOCKINALERTSERVICE + NS_DECL_NSINONBLOCKINGALERTSERVICE #endif EphyPromptService(); -- cgit v1.2.3