From d054ebd5da2efcfaa4a7d96bebf3cae002113a58 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 2 Jul 2025 17:00:12 +0300 Subject: [PATCH] =?UTF-8?q?[cairo]=20Drop=20fallback=20code=20for=20versio?= =?UTF-8?q?ns=20we=20don=E2=80=99t=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We require cairo 1.10.0, so drop checks for older versions. --- util/helper-cairo.hh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/util/helper-cairo.hh b/util/helper-cairo.hh index b6ef80677..59b667775 100644 --- a/util/helper-cairo.hh +++ b/util/helper-cairo.hh @@ -46,8 +46,7 @@ #endif #ifdef CAIRO_HAS_PS_SURFACE # include -# if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,6,0) -# define HAS_EPS 1 +# define HAS_EPS 1 static cairo_surface_t * _cairo_eps_surface_create_for_stream (cairo_write_func_t write_func, @@ -63,9 +62,6 @@ _cairo_eps_surface_create_for_stream (cairo_write_func_t write_func, return surface; } -# else -# undef HAS_EPS -# endif #endif #ifdef CAIRO_HAS_SCRIPT_SURFACE # include