diff options
author | Uli Schlachter <psychon@znc.in> | 2021-05-02 19:30:28 +0200 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2021-05-02 19:30:28 +0200 |
commit | 009d75b8db33a8e5ae42eddcb63d9c5a5da9b60e (patch) | |
tree | 719e01b77cac5021a123ec63e13e3d4add164c27 /src/cairo-xcb-surface-core.c | |
parent | c16094fc443c076475c4633d83d6e67539cf423e (diff) | |
download | cairo-009d75b8db33a8e5ae42eddcb63d9c5a5da9b60e.tar.gz |
xcb: remove free pixmap/gc wrappers
With the last commit, these became pointless. Just switch the code to
call the underlying function directly.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-xcb-surface-core.c')
-rw-r--r-- | src/cairo-xcb-surface-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-xcb-surface-core.c b/src/cairo-xcb-surface-core.c index 91c0ff995..f9f12f04b 100644 --- a/src/cairo-xcb-surface-core.c +++ b/src/cairo-xcb-surface-core.c @@ -66,7 +66,7 @@ _cairo_xcb_pixmap_finish (void *abstract_surface) if (unlikely (status)) return status; - _cairo_xcb_connection_free_pixmap (surface->connection, + xcb_free_pixmap (surface->connection->xcb_connection, surface->pixmap); _cairo_xcb_connection_release (surface->connection); } |