xutil: fix cursor proto

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-12 16:49:15 +01:00
parent beabf82ddf
commit 9d7e8ea931
2 changed files with 2 additions and 2 deletions

View File

@ -402,7 +402,7 @@ xutil_button_fromint(int button)
* \return Allocated cursor font. * \return Allocated cursor font.
*/ */
xcb_cursor_t xcb_cursor_t
xutil_cursor_new(xcb_connection_t *conn, unsigned int cursor_font) xutil_cursor_new(xcb_connection_t *conn, uint16_t cursor_font)
{ {
static xcb_font_t font = XCB_NONE; static xcb_font_t font = XCB_NONE;
xcb_cursor_t cursor; xcb_cursor_t cursor;

View File

@ -112,7 +112,7 @@ typedef struct
bool xutil_error_init(const xcb_generic_error_t *, xutil_error_t *); bool xutil_error_init(const xcb_generic_error_t *, xutil_error_t *);
xcb_keysym_t xutil_key_mask_fromstr(const char *, size_t); xcb_keysym_t xutil_key_mask_fromstr(const char *, size_t);
unsigned int xutil_button_fromint(int); unsigned int xutil_button_fromint(int);
xcb_cursor_t xutil_cursor_new(xcb_connection_t *, unsigned int); xcb_cursor_t xutil_cursor_new(xcb_connection_t *, uint16_t);
static inline void static inline void
xutil_error_wipe(xutil_error_t *err) xutil_error_wipe(xutil_error_t *err)