diff options
author | Uli Schlachter <psychon@znc.in> | 2011-01-30 15:35:36 +0100 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2011-01-31 18:19:15 +0100 |
commit | 48cb9186a23923ad5e9e3c31a193ab3d99ec6c5d (patch) | |
tree | 04945fd56822f3136804f2b54fd020f46c87e053 /src/cairo-xcb-private.h | |
parent | 274289d8c6c8a04060cd9c3a3cf0f819899c1353 (diff) | |
download | cairo-48cb9186a23923ad5e9e3c31a193ab3d99ec6c5d.tar.gz |
xcb: Remove a duplicate static function
Both cairo-xcb-surface-core.c and cairo-xcb-surface-render.c contained an
identical definition of _cairo_xcb_shm_image_create. This commits removes the
one from cairo-xcb-surface-render.c and adds the other one to
cairo-xcb-private.h.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-xcb-private.h')
-rw-r--r-- | src/cairo-xcb-private.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cairo-xcb-private.h b/src/cairo-xcb-private.h index b6b25ce39..0692f598e 100644 --- a/src/cairo-xcb-private.h +++ b/src/cairo-xcb-private.h @@ -534,6 +534,13 @@ _cairo_xcb_connection_poly_fill_rectangle (cairo_xcb_connection_t *connection, xcb_rectangle_t *rectangles); #if CAIRO_HAS_XCB_SHM_FUNCTIONS +cairo_private cairo_status_t +_cairo_xcb_shm_image_create (cairo_xcb_connection_t *connection, + pixman_format_code_t pixman_format, + int width, int height, + cairo_image_surface_t **image_out, + cairo_xcb_shm_info_t **shm_info_out); + cairo_private uint32_t _cairo_xcb_connection_shm_attach (cairo_xcb_connection_t *connection, uint32_t id, |