diff --git a/src/print.cpp b/src/print.cpp
index 9fc1285a54beeb4e2fa055e349bdbc9951b6d079..cc5d8c0a1fad582db858425eea2d24b4a0a33404 100644 (file)
--- a/src/print.cpp
+++ b/src/print.cpp
}
void
-sp_print_document(SPDocument *doc, unsigned int direct)
+sp_print_document(Gtk::Window& parentWindow, SPDocument *doc)
{
sp_document_ensure_up_to_date(doc);
// 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
sp_item_invoke_hide(base, dkey);