From a9958154a9a8e9f402b5fcbcf67951dc5cd3c695 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Wed, 23 Jul 2025 07:59:36 -0500 Subject: [PATCH] cairo-util: Remove dead code Nothing calls this. Signed-off-by: Derek Foreman --- shared/cairo-util.c | 10 ---------- shared/cairo-util.h | 3 --- 2 files changed, 13 deletions(-) diff --git a/shared/cairo-util.c b/shared/cairo-util.c index 47a96e080..4bd5c28bb 100644 --- a/shared/cairo-util.c +++ b/shared/cairo-util.c @@ -45,16 +45,6 @@ #include #endif -void -surface_flush_device(cairo_surface_t *surface) -{ - cairo_device_t *device; - - device = cairo_surface_get_device(surface); - if (device) - cairo_device_flush(device); -} - static int blur_surface(cairo_surface_t *surface, int margin) { diff --git a/shared/cairo-util.h b/shared/cairo-util.h index e19f20088..d56618bad 100644 --- a/shared/cairo-util.h +++ b/shared/cairo-util.h @@ -35,9 +35,6 @@ #include #include -void -surface_flush_device(cairo_surface_t *surface); - void render_shadow(cairo_t *cr, cairo_surface_t *surface, int x, int y, int width, int height, int margin, int top_margin);