summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 904ff9323..9b5f39312 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -1375,11 +1375,11 @@ sp_file_import_from_ocal(Gtk::Window &parentWindow)
* Print the current document, if any.
*/
void
-sp_file_print()
+sp_file_print(Gtk::Window& parentWindow)
{
SPDocument *doc = SP_ACTIVE_DOCUMENT;
if (doc)
- sp_print_document(doc, FALSE);
+ sp_print_document(parentWindow, doc, FALSE);
}
@@ -1388,11 +1388,11 @@ sp_file_print()
* the machine's print drivers.
*/
void
-sp_file_print_direct()
+sp_file_print_direct(Gtk::Window& parentWindow)
{
SPDocument *doc = SP_ACTIVE_DOCUMENT;
if (doc)
- sp_print_document(doc, TRUE);
+ sp_print_document(parentWindow, doc, TRUE);
}