diff options
author | monsta <[email protected]> | 2016-10-20 14:30:39 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-10-20 14:30:39 +0300 |
commit | b9f2604e5079882923abcd74ad13caf0e4b8faa2 (patch) | |
tree | 32350510a7aa18d5b08f52ef8b4e92ce3fabec8c /backend/tiff | |
parent | d3cf808c47ab4f1aa59cbc91da7a59b7c2d1b48a (diff) | |
download | atril-b9f2604e5079882923abcd74ad13caf0e4b8faa2.tar.bz2 atril-b9f2604e5079882923abcd74ad13caf0e4b8faa2.tar.xz |
tiff: use function from cairo >= 1.6 unconditionally
no need for additional checks these days (and we actually already
use the same function in another file)
Diffstat (limited to 'backend/tiff')
-rw-r--r-- | backend/tiff/tiff-document.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/backend/tiff/tiff-document.c b/backend/tiff/tiff-document.c index 52c35d6e..0aa31cb6 100644 --- a/backend/tiff/tiff-document.c +++ b/backend/tiff/tiff-document.c @@ -261,11 +261,7 @@ tiff_document_render (EvDocument *document, return NULL; } -#ifdef HAVE_CAIRO_FORMAT_STRIDE_FOR_WIDTH rowstride = cairo_format_stride_for_width (CAIRO_FORMAT_RGB24, width); -#else - rowstride = width * 4; -#endif if (rowstride / 4 != width) { g_warning("Overflow while rendering document."); /* overflow, or cairo was changed in an unsupported way */ |