summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4637a78)
raw | patch | inline | side by side (parent: 4637a78)
author | joelholdsworth <joelholdsworth@users.sourceforge.net> | |
Fri, 21 Mar 2008 19:31:26 +0000 (19:31 +0000) | ||
committer | joelholdsworth <joelholdsworth@users.sourceforge.net> | |
Fri, 21 Mar 2008 19:31:26 +0000 (19:31 +0000) |
src/ui/dialog/print.cpp | patch | blob | history | |
src/ui/dialog/print.h | patch | blob | history |
index 52ff07ee6d5d2d409454fb9c202a91af58414269..9b6cc754324564daab645147b351b8c6ce257cd1 100644 (file)
--- a/src/ui/dialog/print.cpp
+++ b/src/ui/dialog/print.cpp
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;
}
diff --git a/src/ui/dialog/print.h b/src/ui/dialog/print.h
index c8ef5e6317debb28be2ea91e86a57ec8c509b34c..f6c69bdb87bddf2801422bd735f6a0b3488e3f00 100644 (file)
--- a/src/ui/dialog/print.h
+++ b/src/ui/dialog/print.h
class Print {
public:
Print(SPDocument *doc, SPItem *base);
- Gtk::PrintOperationResult run(Gtk::PrintOperationAction, Gtk::Window&);
+ Gtk::PrintOperationResult run(Gtk::PrintOperationAction, Gtk::Window &parent_window);
protected: