diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /gfx/cairo/disable-printing.patch | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'gfx/cairo/disable-printing.patch')
-rw-r--r-- | gfx/cairo/disable-printing.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gfx/cairo/disable-printing.patch b/gfx/cairo/disable-printing.patch new file mode 100644 index 000000000..c1006d819 --- /dev/null +++ b/gfx/cairo/disable-printing.patch @@ -0,0 +1,27 @@ +diff --git a/gfx/cairo/cairo/src/cairo-win32-surface.c b/gfx/cairo/cairo/src/cairo-win32-surface.c +--- a/gfx/cairo/cairo/src/cairo-win32-surface.c ++++ b/gfx/cairo/cairo/src/cairo-win32-surface.c +@@ -1892,21 +1892,22 @@ cairo_win32_surface_get_dc (cairo_surfac + return winsurf->dc; + } + + if (_cairo_surface_is_paginated (surface)) { + cairo_surface_t *target; + + target = _cairo_paginated_surface_get_target (surface); + ++#ifndef CAIRO_OMIT_WIN32_PRINTING + if (_cairo_surface_is_win32_printing (target)) { + winsurf = (cairo_win32_surface_t *) target; +- + return winsurf->dc; + } ++#endif + } + + return NULL; + } + + /** + * cairo_win32_surface_get_image + * @surface: a #cairo_surface_t |