aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozRegisterComponents.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/MozRegisterComponents.cpp')
-rw-r--r--embed/mozilla/MozRegisterComponents.cpp16
1 files changed, 5 insertions, 11 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp
index 29079aff2..ee2ac999b 100644
--- a/embed/mozilla/MozRegisterComponents.cpp
+++ b/embed/mozilla/MozRegisterComponents.cpp
@@ -25,7 +25,7 @@
#include "GlobalHistory.h"
#include "ExternalProtocolHandlers.h"
#include "PrintingPromptService.h"
-#include "ProgressListener.h"
+#include "MozDownload.h"
#include "ExternalProtocolService.h"
#include "EphyAboutRedirector.h"
@@ -41,7 +41,7 @@
#include <glib.h>
NS_GENERIC_FACTORY_CONSTRUCTOR(EphyAboutRedirector)
-NS_GENERIC_FACTORY_CONSTRUCTOR(GProgressListener)
+NS_GENERIC_FACTORY_CONSTRUCTOR(MozDownload)
NS_GENERIC_FACTORY_CONSTRUCTOR(GFilePicker)
NS_GENERIC_FACTORY_CONSTRUCTOR(GContentHandler)
NS_GENERIC_FACTORY_CONSTRUCTOR(MozGlobalHistory)
@@ -63,16 +63,10 @@ static const nsModuleComponentInfo sAppComps[] = {
GExternalProtocolServiceConstructor
},
{
- G_PROGRESSDIALOG_CLASSNAME,
- G_PROGRESSDIALOG_CID,
- G_PROGRESSDIALOG_CONTRACTID,
- GProgressListenerConstructor
- },
- {
- G_PROGRESSDIALOG_CLASSNAME,
- G_PROGRESSDIALOG_CID,
+ MOZ_DOWNLOAD_CLASSNAME,
+ MOZ_DOWNLOAD_CID,
NS_DOWNLOAD_CONTRACTID,
- GProgressListenerConstructor
+ MozDownloadConstructor
},
{
G_FILEPICKER_CLASSNAME,