From 7402b09e7249361393f82900769c68230262bffb Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Mon, 18 Jul 2005 17:51:36 +0000 Subject: [PATCH] Add the prompt-service contract to nsEmbedCID.h --- mail/components/shell/nsMailGNOMEIntegration.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mail/components/shell/nsMailGNOMEIntegration.cpp b/mail/components/shell/nsMailGNOMEIntegration.cpp index 26a8a0999658..2ee4d5870cd4 100644 --- a/mail/components/shell/nsMailGNOMEIntegration.cpp +++ b/mail/components/shell/nsMailGNOMEIntegration.cpp @@ -49,6 +49,7 @@ #include "nsIPrefBranch.h" #include "nsDirectoryServiceDefs.h" #include "nsDirectoryServiceUtils.h" +#include "nsEmbedCID.h" #include #include @@ -265,7 +266,7 @@ nsMailGNOMEIntegration::ShowMailIntegrationDialog(nsIDOMWindow* aParentWindow) NS_ENSURE_SUCCESS(rv, rv); nsCOMPtr promptService = - do_GetService("@mozilla.org/embedcomp/prompt-service;1"); + do_GetService(NS_PROMPTSERVICE_CONTRACTID); NS_ENSURE_TRUE(promptService, NS_ERROR_FAILURE); if (mShowMailDialog && showMailDialog) {