[vlc-devel] commit: XCB: remove debug ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Oct 28 22:04:51 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Oct 28 23:04:41 2009 +0200| [80a9c2422617a7ee3d12114a5ac7b7c67f52a9bd] | committer: Rémi Denis-Courmont 

XCB: remove debug

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=80a9c2422617a7ee3d12114a5ac7b7c67f52a9bd
---

 modules/video_output/xcb/common.c |   18 ++----------------
 1 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/modules/video_output/xcb/common.c b/modules/video_output/xcb/common.c
index ecaf6e4..41ec0c3 100644
--- a/modules/video_output/xcb/common.c
+++ b/modules/video_output/xcb/common.c
@@ -211,23 +211,9 @@ xcb_cursor_t CreateBlankCursor (xcb_connection_t *conn,
 {
     xcb_cursor_t cur = xcb_generate_id (conn);
     xcb_pixmap_t pix = xcb_generate_id (conn);
-    xcb_void_cookie_t ck;
-    xcb_generic_error_t *err;
 
-    ck = xcb_create_pixmap_checked (conn, 1, pix, scr->root, 1, 1);
-    err = xcb_request_check (conn, ck);
-    if (err)
-    {
-        fprintf (stderr, "Cannot create pixmap: %d", err->error_code);
-        free (err);
-    }
-    ck = xcb_create_cursor_checked (conn, cur, pix, pix, 0, 0, 0, 1, 1, 1, 0, 0);
-    err = xcb_request_check (conn, ck);
-    if (err)
-    {
-        fprintf (stderr, "Cannot create pixmap: %d", err->error_code);
-        free (err);
-    }
+    xcb_create_pixmap (conn, 1, pix, scr->root, 1, 1);
+    xcb_create_cursor (conn, cur, pix, pix, 0, 0, 0, 1, 1, 1, 0, 0);
     return cur;
 }
 




More information about the vlc-devel mailing list