aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/GeckoPrintService.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@svn.gnome.org>2007-01-24 01:41:33 +0800
committerChristian Persch <chpe@src.gnome.org>2007-01-24 01:41:33 +0800
commitdfb53894ddca40e48d6b895a5f35d71897318bd9 (patch)
treefb88f3d196eb2befc54eb104ded479c99dba7d27 /embed/mozilla/GeckoPrintService.h
parent829181d6405e9d5709a8242282479e8b8e9b25ea (diff)
downloadgsoc2013-epiphany-dfb53894ddca40e48d6b895a5f35d71897318bd9.tar
gsoc2013-epiphany-dfb53894ddca40e48d6b895a5f35d71897318bd9.tar.gz
gsoc2013-epiphany-dfb53894ddca40e48d6b895a5f35d71897318bd9.tar.bz2
gsoc2013-epiphany-dfb53894ddca40e48d6b895a5f35d71897318bd9.tar.lz
gsoc2013-epiphany-dfb53894ddca40e48d6b895a5f35d71897318bd9.tar.xz
gsoc2013-epiphany-dfb53894ddca40e48d6b895a5f35d71897318bd9.tar.zst
gsoc2013-epiphany-dfb53894ddca40e48d6b895a5f35d71897318bd9.zip
Clear some print settings in the settings we hand to the print job, so
2007-01-23 Christian Persch <chpe@svn.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GeckoPrintService.h: * embed/mozilla/GeckoPrintSession.cpp: Clear some print settings in the settings we hand to the print job, so they don't get applied twice. Bug #394818. Prepare for printing to PDF (#if 0'd until the gecko bug is fixed). svn path=/trunk/; revision=6844
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 *);