Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authorMartin Kretzschmar <martink@src.gnome.org>2004-12-23 01:08:19 (GMT)
committer Martin Kretzschmar <martink@src.gnome.org>2004-12-23 01:08:19 (GMT)
commit6c3ca0cf2c626fce12897ea0937c07f2d7863d2f (patch)
treeb1bbe17ceb7d327820ae8a225e39f210e0590367 /shell/ev-window.c
parent584fe426392a29b64a0d0d4cbe259060fcfafae5 (diff)
add GnomePrintJob to EvPrintJob constructor arguments.
* shell/ev-window.c (ev_window_print): add GnomePrintJob to EvPrintJob constructor arguments. * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface for documents that can export PostScript (page by page). * backend/Makefile.am (libevbackend_la_SOURCES): add them. * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin) (pdf_document_ps_export_do_page, pdf_document_ps_export_end) (pdf_document_ps_exporter_iface_init: Implement EvPSExporter. * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 0ca5df0..e0445c6 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -377,8 +377,9 @@ ev_window_print (EvWindow *ev_window)
}
print_job = g_object_new (EV_TYPE_PRINT_JOB,
+ "gnome_print_job", job,
"document", ev_window->priv->document,
- "print-dialog", print_dialog,
+ "print_dialog", print_dialog,
NULL);
break;
}