From 8f3dfb68ddfd768e33ccd38f22627f6022fa0559 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Fri, 21 Mar 2008 19:31:26 +0000 Subject: Bugfix to prevent the print dialog falling underneath the inkscape desktop windows in Win32 (bzr r5147) --- src/ui/dialog/print.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/ui/dialog/print.cpp') diff --git a/src/ui/dialog/print.cpp b/src/ui/dialog/print.cpp index 52ff07ee6..9b6cc7543 100644 --- a/src/ui/dialog/print.cpp +++ b/src/ui/dialog/print.cpp @@ -170,9 +170,10 @@ Print::Print(SPDocument *doc, SPItem *base) : gtk_print_operation_set_custom_tab_label (_printop, _("Rendering")); } -Gtk::PrintOperationResult Print::run(Gtk::PrintOperationAction, Gtk::Window&) +Gtk::PrintOperationResult Print::run(Gtk::PrintOperationAction, Gtk::Window &parent_window) { - gtk_print_operation_run (_printop, GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG, NULL, NULL); + gtk_print_operation_run (_printop, GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG, + parent_window.gobj(), NULL); return Gtk::PRINT_OPERATION_RESULT_APPLY; } -- cgit v1.2.3