summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/tiff/tiff-document.c4
-rw-r--r--configure.ac6
2 files changed, 0 insertions, 10 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 */
diff --git a/configure.ac b/configure.ac
index bcc186d3..118a919b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,12 +165,6 @@ AC_SUBST([SMCLIENT_LIBS])
BACKEND_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -export-symbols \$(top_srcdir)/backend/backend.symbols"
AC_SUBST(BACKEND_LIBTOOL_FLAGS)
-dnl ===== Check special functions
-atril_save_LIBS=$LIBS
-LIBS="$LIBS $BACKEND_LIBS"
-AC_CHECK_FUNCS(cairo_format_stride_for_width)
-LIBS=$atril_save_LIBS
-
# ******************
# GKT+ Unix Printing
# ******************