aboutsummaryrefslogtreecommitdiffstats
path: root/embed/xulrunner
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2007-09-14 04:34:59 +0800
committerChristian Persch <chpe@src.gnome.org>2007-09-14 04:34:59 +0800
commitfd25a11c2326c54d1c9e538cd39911223a46134f (patch)
tree9d6f7ca76b5f82c75314fa5e743a5609f022dc54 /embed/xulrunner
parent582bcd3f48e7fe43f8072ec2f03109a3f4d5fe12 (diff)
downloadgsoc2013-epiphany-fd25a11c2326c54d1c9e538cd39911223a46134f.tar
gsoc2013-epiphany-fd25a11c2326c54d1c9e538cd39911223a46134f.tar.gz
gsoc2013-epiphany-fd25a11c2326c54d1c9e538cd39911223a46134f.tar.bz2
gsoc2013-epiphany-fd25a11c2326c54d1c9e538cd39911223a46134f.tar.lz
gsoc2013-epiphany-fd25a11c2326c54d1c9e538cd39911223a46134f.tar.xz
gsoc2013-epiphany-fd25a11c2326c54d1c9e538cd39911223a46134f.tar.zst
gsoc2013-epiphany-fd25a11c2326c54d1c9e538cd39911223a46134f.zip
Fix for move of GeckoPromptService.
svn path=/trunk/; revision=7429
Diffstat (limited to 'embed/xulrunner')
-rw-r--r--embed/xulrunner/src/gecko-init.cpp26
1 files changed, 3 insertions, 23 deletions
diff --git a/embed/xulrunner/src/gecko-init.cpp b/embed/xulrunner/src/gecko-init.cpp
index 5b4f62a93..c7954bff3 100644
--- a/embed/xulrunner/src/gecko-init.cpp
+++ b/embed/xulrunner/src/gecko-init.cpp
@@ -85,7 +85,6 @@
#include "EmbedContentListener.h"
#include "EmbedEventListener.h"
#include "EmbedWindowCreator.h"
-#include "GeckoPromptService.h"
#ifdef MOZ_ACCESSIBILITY_ATK
#include "nsIAccessibilityService.h"
@@ -100,29 +99,8 @@
#include "gecko-init-private.h"
#include "gecko-init-internal.h"
-NS_GENERIC_FACTORY_CONSTRUCTOR(GeckoPromptService)
-
-static const nsModuleComponentInfo defaultAppComps[] = {
- {
- GECKO_PROMPT_SERVICE_CLASSNAME,
- GECKO_PROMPT_SERVICE_CID,
- "@mozilla.org/embedcomp/prompt-service;1",
- GeckoPromptServiceConstructor
- },
-#ifdef HAVE_NSINONBLOCKINGALERTSERVICE_H
- {
- GECKO_PROMPT_SERVICE_CLASSNAME,
- GECKO_PROMPT_SERVICE_CID,
- "@mozilla.org/embedcomp/nbalert-service;1",
- GeckoPromptServiceConstructor
- },
-#endif /* HAVE_NSINONBLOCKINGALERTSERVICE_H */
-};
-
GtkWidget *sOffscreenWindow = 0;
GtkWidget *sOffscreenFixed = 0;
-const nsModuleComponentInfo *sAppComps = defaultAppComps;
-int sNumAppComps = sizeof (defaultAppComps) / sizeof (nsModuleComponentInfo);
nsILocalFile *sProfileDir = nsnull;
nsISupports *sProfileLock = nsnull;
nsIDirectoryServiceProvider* sAppFileLocProvider;
@@ -196,7 +174,8 @@ RegisterAppComponents(void)
nsCOMPtr<nsIComponentManager> cm;
rv = NS_GetComponentManager (getter_AddRefs (cm));
NS_ENSURE_SUCCESS (rv, rv);
-
+
+#if 0
for (int i = 0; i < sNumAppComps; ++i) {
nsCOMPtr<nsIGenericFactory> componentFactory;
rv = NS_NewGenericFactory(getter_AddRefs(componentFactory),
@@ -217,6 +196,7 @@ RegisterAppComponents(void)
NS_ASSERTION(NS_SUCCEEDED(rv), "Unable to self-register component");
}
}
+#endif
return rv;
}