mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-20 06:07:30 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
27
gfx/cairo/disable-printing.patch
Normal file
27
gfx/cairo/disable-printing.patch
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue