summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-07-09 19:18:10 -0400
committerKristian Høgsberg <krh@bitplanet.net>2013-07-09 19:18:10 -0400
commit7100a5e0bb07d77f1700abe53968ffc5ba3749ce (patch)
treeb742246ddc102575e565424fa6c5f894895f8617 /tests
parent93d888aec6331ce30e61188cc00ab3dc9f137efb (diff)
Replace two remaining wl_display_add_gloavl() occurences
Diffstat (limited to 'tests')
-rw-r--r--tests/queue-test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/queue-test.c b/tests/queue-test.c
index 3abb71f..87147c1 100644
--- a/tests/queue-test.c
+++ b/tests/queue-test.c
@@ -266,8 +266,9 @@ TEST(queue)
}
for (i = 0; i < ARRAY_LENGTH(dummy_interfaces); i++)
- wl_display_add_global(display.display, dummy_interfaces[i],
- NULL, dummy_bind);
+ wl_global_create(display.display, dummy_interfaces[i],
+ dummy_interfaces[i]->version,
+ NULL, dummy_bind);
ret = wl_display_add_socket(display.display, SOCKET_NAME);
assert(ret == 0);