summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/print.cpp
diff options
context:
space:
mode:
authorJoel Holdsworth <joel@airwebreathe.org.uk>2008-03-21 19:31:26 +0000
committerjoelholdsworth <joelholdsworth@users.sourceforge.net>2008-03-21 19:31:26 +0000
commit8f3dfb68ddfd768e33ccd38f22627f6022fa0559 (patch)
treed4c7a80e5ec5186627c3821f9c3016f4973705d6 /src/ui/dialog/print.cpp
parentAdd a separate "javaclean" target so that it can be invoked without deleting ... (diff)
downloadinkscape-8f3dfb68ddfd768e33ccd38f22627f6022fa0559.tar.gz
inkscape-8f3dfb68ddfd768e33ccd38f22627f6022fa0559.zip
Bugfix to prevent the print dialog falling underneath the inkscape desktop windows in Win32
(bzr r5147)
Diffstat (limited to 'src/ui/dialog/print.cpp')
-rw-r--r--src/ui/dialog/print.cpp5
1 files changed, 3 insertions, 2 deletions
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;
}