From 6f205ed28f29d429c28f3c544f85a90eea47ad34 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 5 Feb 2023 16:15:25 +0100 Subject: Remove unused _cairo_tee_surface_find_match A little history digging shows that we only ever had one caller of _cairo_tee_surface_find_match. Commit 658cdc7c9a "Introduce cairo_tee_surface_t" added this code to _cairo_surface_clone_similar(): if (src->type == CAIRO_SURFACE_TYPE_TEE) { cairo_surface_t *match; match = _cairo_tee_surface_find_match (src, surface->backend, content); if (match != NULL) src = match; } Then, two years later in 2011, commit af9fbd176b1 "Introduce a new compositor architecture" removed _cairo_surface_clone_similar() and thus this code became unused. This commit drops this unused code. Signed-off-by: Uli Schlachter --- doc/public/meson.build | 1 - 1 file changed, 1 deletion(-) (limited to 'doc') diff --git a/doc/public/meson.build b/doc/public/meson.build index 7f25ea1a9..278ef4703 100644 --- a/doc/public/meson.build +++ b/doc/public/meson.build @@ -98,7 +98,6 @@ ignore_headers = [ 'cairo-svg-surface-private.h', 'cairo-tag-attributes-private.h', 'cairo-tag-stack-private.h', - 'cairo-tee-surface-private.h', 'cairo-time-private.h', 'cairo-traps-private.h', 'cairo-tristrip-private.h', -- cgit v1.2.1