summaryrefslogtreecommitdiff
path: root/embed/mozilla/GeckoPrintService.h
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/GeckoPrintService.h')
-rw-r--r--embed/mozilla/GeckoPrintService.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/mozilla/GeckoPrintService.h b/embed/mozilla/GeckoPrintService.h
index e77e00b6d..c5a2ae429 100644
--- a/embed/mozilla/GeckoPrintService.h
+++ b/embed/mozilla/GeckoPrintService.h
@@ -23,6 +23,7 @@
#include <gtk/gtkpagesetup.h>
#include <gtk/gtkprintsettings.h>
+#include <gtk/gtkprinter.h>
#include <nsIPrintingPromptService.h>
@@ -44,7 +45,7 @@ public:
GeckoPrintService();
virtual ~GeckoPrintService();
- static nsresult TranslateSettings (GtkPrintSettings*, GtkPageSetup *, const nsACString&, PRBool, nsIPrintSettings*);
+ static nsresult TranslateSettings (GtkPrintSettings*, GtkPageSetup *, GtkPrinter *, const nsACString&, PRBool, nsIPrintSettings*);
private:
nsresult PrintUnattended (nsIDOMWindow *, nsIPrintSettings *);