diff options
author | Martin Kretzschmar <martink@src.gnome.org> | 2005-01-21 13:34:18 (GMT) |
---|---|---|
committer | Martin Kretzschmar <martink@src.gnome.org> | 2005-01-21 13:34:18 (GMT) |
commit | 6af6a1702a16376243e0ab318ae4ac121298659a (patch) | |
tree | 0366d2538bcf3dc88fcada26bae8ec12ecdd1dd8 /ps/ps-document.c | |
parent | 44eab3deb5f1a748d95bd250841cfd500085a48f (diff) |
Zero page_[xy]_offset.
* ps/ps-document.c (ps_document_init): Zero page_[xy]_offset.
Diffstat (limited to 'ps/ps-document.c')
-rw-r--r-- | ps/ps-document.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ps/ps-document.c b/ps/ps-document.c index 848d1a7..fb1dd3d 100644 --- a/ps/ps-document.c +++ b/ps/ps-document.c @@ -272,6 +272,9 @@ ps_document_init(PSDocument * gs) gs->right_margin = 0; gs->bottom_margin = 0; + gs->page_x_offset = 0; + gs->page_y_offset = 0; + /* Set user defined defaults */ gs->override_orientation = gtk_gs_defaults_get_override_orientation(); gs->fallback_orientation = gtk_gs_defaults_get_orientation(); |