diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-06-11 02:30:58 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-06-11 02:30:58 +0000 |
commit | 289d59857fdbdc306d5e4d5d1a07c63cf8b90a11 (patch) | |
tree | c0041306ce2bf48ba0ae9bc58f89e9989e0d5c45 /gtk/gtkprintoperation.c | |
parent | 61a9c9a75b5013587d680d0c108b1a1120f1f0f2 (diff) | |
download | gtk+-289d59857fdbdc306d5e4d5d1a07c63cf8b90a11.tar.gz |
Use cairo_pdf_surface_set_dpi by cairo_surface_set_fallback_resolution.
2006-06-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.c:
* modules/printbackends/pdf/gtkprintbackendpdf.c: Use
cairo_pdf_surface_set_dpi by cairo_surface_set_fallback_resolution.
(#344512, Elijah Newren)
Diffstat (limited to 'gtk/gtkprintoperation.c')
-rw-r--r-- | gtk/gtkprintoperation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c index 512eae936a..5921b0f369 100644 --- a/gtk/gtkprintoperation.c +++ b/gtk/gtkprintoperation.c @@ -1796,7 +1796,7 @@ run_pdf (GtkPrintOperation *op, surface = cairo_pdf_surface_create (priv->export_filename, width, height); - cairo_pdf_surface_set_dpi (surface, 300, 300); + cairo_surface_set_fallback_resolution (surface, 300, 300); priv->platform_data = surface; priv->free_platform_data = (GDestroyNotify) cairo_surface_destroy; |