diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2013-07-09 19:18:10 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-07-09 19:18:10 -0400 |
commit | 7100a5e0bb07d77f1700abe53968ffc5ba3749ce (patch) | |
tree | b742246ddc102575e565424fa6c5f894895f8617 /tests | |
parent | 93d888aec6331ce30e61188cc00ab3dc9f137efb (diff) |
Replace two remaining wl_display_add_gloavl() occurences
Diffstat (limited to 'tests')
-rw-r--r-- | tests/queue-test.c | 5 |
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); |