aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/GeckoPrintSession.h
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/GeckoPrintSession.h')
-rw-r--r--embed/mozilla/GeckoPrintSession.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/mozilla/GeckoPrintSession.h b/embed/mozilla/GeckoPrintSession.h
index e0ddb5259..027f01e23 100644
--- a/embed/mozilla/GeckoPrintSession.h
+++ b/embed/mozilla/GeckoPrintSession.h
@@ -58,7 +58,7 @@ class GeckoPrintSession : public nsIPrintSession,
NS_DECL_NSIPRINTPROGRESS
NS_DECL_NSIPRINTPROGRESSPARAMS
- nsresult SetSettings (GtkPrintSettings*, GtkPageSetup*, GtkPrinter*);
+ nsresult SetSettings (nsIPrintSettings *, GtkPrintSettings*, GtkPageSetup*, GtkPrinter*);
void GetSourceFile (nsACString&);
static GeckoPrintSession *FromSettings (nsIPrintSettings *);
@@ -70,6 +70,7 @@ class GeckoPrintSession : public nsIPrintSession,
void JobError (const char *);
private:
+ nsCOMPtr<nsIPrintSettings> mPrintSettings;
GtkPrintSettings *mSettings;
GtkPageSetup *mPageSetup;
GtkPrinter *mPrinter;