summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/tiff/tiff-document.c4
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 */