aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/GeckoPrintSession.cpp
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/GeckoPrintSession.cpp
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/GeckoPrintSession.cpp')
-rw-r--r--embed/mozilla/GeckoPrintSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/GeckoPrintSession.cpp b/embed/mozilla/GeckoPrintSession.cpp
index 4c60bc74f..e433d71a7 100644
--- a/embed/mozilla/GeckoPrintSession.cpp
+++ b/embed/mozilla/GeckoPrintSession.cpp
@@ -105,7 +105,7 @@ GeckoPrintSession::SetSettings (GtkPrintSettings *aSettings,
NS_ASSERTION (!mSettings && !mPageSetup && !mPrinter, "Already have settings!");
NS_ENSURE_ARG (aSettings);
- mSettings = aSettings; /* this one is adopted */
+ mSettings = (GtkPrintSettings *) g_object_ref (aSettings);
NS_ENSURE_ARG (aPageSetup);
NS_ENSURE_ARG (aPrinter);