summaryrefslogtreecommitdiffstats
path: root/src/print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/print.cpp')
-rw-r--r--src/print.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/print.cpp b/src/print.cpp
index 0dfb8ab5a..a24a01ff7 100644
--- a/src/print.cpp
+++ b/src/print.cpp
@@ -123,7 +123,7 @@ sp_print_preview_document(SPDocument *doc)
}
void
-sp_print_document(SPDocument *doc, unsigned int /*direct*/)
+sp_print_document(Gtk::Window& parentWindow, SPDocument *doc, unsigned int /*direct*/)
{
sp_document_ensure_up_to_date(doc);
@@ -135,7 +135,7 @@ sp_print_document(SPDocument *doc, unsigned int /*direct*/)
// Run print dialog
Inkscape::UI::Dialog::Print printop(doc,base);
- Gtk::PrintOperationResult res = printop.run(Gtk::PRINT_OPERATION_ACTION_PRINT_DIALOG);
+ Gtk::PrintOperationResult res = printop.run(Gtk::PRINT_OPERATION_ACTION_PRINT_DIALOG, parentWindow);
(void)res; // TODO handle this
// Release arena