Update connection-failed handling to check for error objects instead of null.
authorJamey Sharp <jamey@minilop.net>
Mon, 20 Nov 2006 23:59:39 +0000 (15:59 -0800)
committerJamey Sharp <jamey@minilop.net>
Mon, 20 Nov 2006 23:59:39 +0000 (15:59 -0800)
commitb649faee831f4291fee41b2d90acb319f6bc8cba
tree06d954254185c7d2d85b10f5a718e5156f59d7cc
parente6b69e8c29469dff4ef0ad4a2bccab63efa6af4f
Update connection-failed handling to check for error objects instead of null.

In essence, replace 'if(!c)' with 'if(xcb_connection_has_error(c))'.
xcbdpyinfo.c
xcbrandr.c
xcbxf86dri.c
xcbxvinfo.c