mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 18:28:03 +02:00
Additional piece of "Fix the XCB backend build for the XCB 0.9 release."
This commit is contained in:
parent
8c9da52dc2
commit
57a0242d06
1 changed files with 2 additions and 2 deletions
|
|
@ -980,13 +980,13 @@ create_xcb_surface (cairo_test_t *test,
|
|||
if (height == 0)
|
||||
height = 1;
|
||||
|
||||
xtc->c = c = XCBConnectBasic();
|
||||
xtc->c = c = XCBConnect(NULL,NULL);
|
||||
if (c == NULL) {
|
||||
cairo_test_log ("Failed to connect to X server through XCB\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
root = XCBConnSetupSuccessRepRootsIter(XCBGetSetup(c)).data;
|
||||
root = XCBSetupRootsIter(XCBGetSetup(c)).data;
|
||||
|
||||
xtc->drawable.pixmap = XCBPIXMAPNew (c);
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue