From 9e79fe7d4b35be5c4847686c2d4babf9daa53c04 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sat, 22 Dec 2007 21:06:55 +0000 Subject: Fixed the parenting of the print dialog so that it cannot fall behind the main inkscape desktop window (bzr r4278) --- src/file.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/file.cpp') 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); } -- cgit v1.2.3