[gtk2] fix more warnings
[xcb] check reply NULL.