aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/EphyUtils.cpp2
-rw-r--r--embed/mozilla/EphyUtils.h7
2 files changed, 6 insertions, 3 deletions
diff --git a/embed/mozilla/EphyUtils.cpp b/embed/mozilla/EphyUtils.cpp
index 89354b499..c8d296737 100644
--- a/embed/mozilla/EphyUtils.cpp
+++ b/embed/mozilla/EphyUtils.cpp
@@ -25,6 +25,7 @@
#include "EphyUtils.h"
#include "ephy-embed-shell.h"
#include "ephy-embed-single.h"
+#include "print-dialog.h"
#include <nsIServiceManager.h>
#define MOZILLA_STRICT_API
@@ -34,6 +35,7 @@
#include <nsIEmbeddingSiteWindow.h>
#include <nsIWebBrowserChrome.h>
#include <gtkmozembed.h>
+#include <nsIPrintSettings.h>
nsresult
EphyUtils::GetIOService (nsIIOService **ioService)
diff --git a/embed/mozilla/EphyUtils.h b/embed/mozilla/EphyUtils.h
index 2f81e0b4d..d180664ae 100644
--- a/embed/mozilla/EphyUtils.h
+++ b/embed/mozilla/EphyUtils.h
@@ -23,9 +23,10 @@
#include <nsIIOService.h>
#include <nsIURI.h>
#include <nsIDOMWindow.h>
-#include <nsIPrintSettings.h>
+#include <gtk/gtkwidget.h>
-#include "print-dialog.h"
+class nsIPrintSettings;
+struct _EmbedPrintInfo;
namespace EphyUtils
{
@@ -39,7 +40,7 @@ namespace EphyUtils
GtkWidget *FindGtkParent (nsIDOMWindow *aDOMWindow);
- nsresult CollatePrintSettings (const EmbedPrintInfo *info,
+ nsresult CollatePrintSettings (const _EmbedPrintInfo *info,
nsIPrintSettings *settings,
gboolean preview);
}