summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorJoel Holdsworth <joel@airwebreathe.org.uk>2007-12-22 21:06:55 +0000
committerjoelholdsworth <joelholdsworth@users.sourceforge.net>2007-12-22 21:06:55 +0000
commit9e79fe7d4b35be5c4847686c2d4babf9daa53c04 (patch)
treeddd44e2a3cba329dc94360b6be9d0280d6160b32 /src/verbs.cpp
parentFix typo in an array causing a write off the end. Causes bug if no (diff)
downloadinkscape-9e79fe7d4b35be5c4847686c2d4babf9daa53c04.tar.gz
inkscape-9e79fe7d4b35be5c4847686c2d4babf9daa53c04.zip
Fixed the parenting of the print dialog so that it cannot fall behind the main inkscape desktop window
(bzr r4278)
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 78dd8bee8..e96eca2ce 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -779,13 +779,13 @@ FileVerb::perform(SPAction *action, void *data, void */*pdata*/)
sp_file_save_a_copy(*parent, NULL, NULL);
break;
case SP_VERB_FILE_PRINT:
- sp_file_print();
+ sp_file_print(*parent);
break;
case SP_VERB_FILE_VACUUM:
sp_file_vacuum();
break;
case SP_VERB_FILE_PRINT_DIRECT:
- sp_file_print_direct();
+ sp_file_print_direct(*parent);
break;
case SP_VERB_FILE_PRINT_PREVIEW:
sp_file_print_preview(NULL, NULL);