aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/GeckoPrintSession.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2007-06-14 20:17:29 +0800
committerChristian Persch <chpe@src.gnome.org>2007-06-14 20:17:29 +0800
commit9155e8cd98bc489df8a2093d1769b0b1c46981d7 (patch)
tree7305d00dc5d98d62f1b76902d4d6f66512ccf04e /embed/mozilla/GeckoPrintSession.h
parenta6a2cd926bc435e0dfbaf1c3d3535c0f2ba47410 (diff)
downloadgsoc2013-epiphany-9155e8cd98bc489df8a2093d1769b0b1c46981d7.tar
gsoc2013-epiphany-9155e8cd98bc489df8a2093d1769b0b1c46981d7.tar.gz
gsoc2013-epiphany-9155e8cd98bc489df8a2093d1769b0b1c46981d7.tar.bz2
gsoc2013-epiphany-9155e8cd98bc489df8a2093d1769b0b1c46981d7.tar.lz
gsoc2013-epiphany-9155e8cd98bc489df8a2093d1769b0b1c46981d7.tar.xz
gsoc2013-epiphany-9155e8cd98bc489df8a2093d1769b0b1c46981d7.tar.zst
gsoc2013-epiphany-9155e8cd98bc489df8a2093d1769b0b1c46981d7.zip
Set the print as cancelled in the print settings too, see
2007-06-14 Christian Persch <chpe@gnome.org> * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GeckoPrintSession.cpp: * embed/mozilla/GeckoPrintSession.h: Set the print as cancelled in the print settings too, see https://bugzilla.mozilla.org/show_bug.cgi?id=253926. svn path=/trunk/; revision=7081
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;