From ca5d4caa2eebba858c3e56b2daad2927cb436db1 Mon Sep 17 00:00:00 2001 From: "pavlov%netscape.com" Date: Fri, 1 Oct 1999 09:24:34 +0000 Subject: [PATCH] use correct return type git-svn-id: svn://10.0.0.236/trunk@49561 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/mac/nsAppShell.cpp | 2 +- mozilla/widget/src/mac/nsAppShell.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/widget/src/mac/nsAppShell.cpp b/mozilla/widget/src/mac/nsAppShell.cpp index 84d91b65045..9a18faf8d91 100644 --- a/mozilla/widget/src/mac/nsAppShell.cpp +++ b/mozilla/widget/src/mac/nsAppShell.cpp @@ -86,7 +86,7 @@ NS_IMETHODIMP nsAppShell::Create(int* argc, char ** argv) // Enter a message handler loop // //------------------------------------------------------------------------- -nsresult nsAppShell::Run() +NS_IMETHODIMP nsAppShell::Run() { if (!mMacPump.get()) return NS_ERROR_NOT_INITIALIZED; diff --git a/mozilla/widget/src/mac/nsAppShell.h b/mozilla/widget/src/mac/nsAppShell.h index 929fe09fba6..4381026d2bf 100644 --- a/mozilla/widget/src/mac/nsAppShell.h +++ b/mozilla/widget/src/mac/nsAppShell.h @@ -60,7 +60,7 @@ class nsAppShell : public nsIAppShell // nsIAppShellInterface NS_IMETHOD Create(int* argc, char ** argv); - virtual nsresult Run(); + NS_IMETHOD Run(); NS_IMETHOD Spinup(); NS_IMETHOD Spindown(); NS_IMETHOD PushThreadEventQueue();