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-render.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-render.c')
-rw-r--r-- | src/cairo-xcb-surface-render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-xcb-surface-render.c b/src/cairo-xcb-surface-render.c index c485524ce..a1eaad9a5 100644 --- a/src/cairo-xcb-surface-render.c +++ b/src/cairo-xcb-surface-render.c @@ -382,7 +382,7 @@ _picture_from_image (cairo_xcb_surface_t *target, 0, 0); } - _cairo_xcb_connection_free_pixmap (target->connection, pixmap); + xcb_free_pixmap (target->connection->xcb_connection, pixmap); return picture; } @@ -640,7 +640,7 @@ _solid_picture (cairo_xcb_surface_t *target, _cairo_xcb_screen_put_gc (target->screen, 32, gc); } - _cairo_xcb_connection_free_pixmap (target->connection, pixmap); + xcb_free_pixmap (target->connection->xcb_connection, pixmap); } return picture; |