diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2013-07-03 18:13:33 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-07-03 18:13:33 -0400 |
commit | 442a5faa844537416de6c579812833721ec2a4b6 (patch) | |
tree | be68eb48d6bfcf7c04461e4774c725bb3f505a37 /tests | |
parent | 9a4f10f6bcf49450aa6470b0f276ec1ce59c7514 (diff) |
tests: Fix leftover wl_client_add_versioned_object()
The search and replace missed this one.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/weston-test.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/weston-test.c b/tests/weston-test.c index 3b5e7cb5..486cd6a9 100644 --- a/tests/weston-test.c +++ b/tests/weston-test.c @@ -191,10 +191,9 @@ bind_test(struct wl_client *client, void *data, uint32_t version, uint32_t id) struct weston_test *test = data; struct wl_resource *resource; - resource = wl_client_add_versioned_object(client, &wl_test_interface, - 1, id); - wl_resource_set_implementation(resource, &test_implementation, - test, NULL); + resource = wl_resource_create(client, &wl_test_interface, 1, id); + wl_resource_set_implementation(resource, + &test_implementation, test, NULL); notify_pointer_position(test, resource); } |