diff options
author | Uli Schlachter <psychon@znc.in> | 2023-02-05 16:15:25 +0100 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2023-02-05 16:15:25 +0100 |
commit | 6f205ed28f29d429c28f3c544f85a90eea47ad34 (patch) | |
tree | 35ef1f29bcefc6e7cbb114ebfa27c91ac3f6b772 /src/cairo-surface.c | |
parent | 338eca43428d1956216362eeb8e1715bac99d876 (diff) | |
download | cairo-6f205ed28f29d429c28f3c544f85a90eea47ad34.tar.gz |
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 <psychon@znc.in>
Diffstat (limited to 'src/cairo-surface.c')
-rw-r--r-- | src/cairo-surface.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cairo-surface.c b/src/cairo-surface.c index 609eb9ccf..f1292e0bb 100644 --- a/src/cairo-surface.c +++ b/src/cairo-surface.c @@ -49,7 +49,6 @@ #include "cairo-recording-surface-private.h" #include "cairo-region-private.h" #include "cairo-surface-inline.h" -#include "cairo-tee-surface-private.h" /** * SECTION:cairo-surface |