aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/EphyWrapper.cpp')
-rw-r--r--embed/mozilla/EphyWrapper.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/embed/mozilla/EphyWrapper.cpp b/embed/mozilla/EphyWrapper.cpp
index fc306898b..3b9856716 100644
--- a/embed/mozilla/EphyWrapper.cpp
+++ b/embed/mozilla/EphyWrapper.cpp
@@ -19,7 +19,6 @@
#include "EphyWrapper.h"
#include "GlobalHistory.h"
#include "ProgressListener.h"
-#include "PrintProgressListener.h"
#include "ephy-embed.h"
#include "ephy-string.h"
@@ -193,8 +192,7 @@ nsresult EphyWrapper::Print (nsIPrintSettings *options, PRBool preview)
if (!preview)
{
- GPrintListener *listener = new GPrintListener();
- result = print->Print (options, listener);
+ result = print->Print (options, nsnull);
}
else
{