mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 19:18:13 +02:00
tests: Fix leftover wl_client_add_versioned_object()
The search and replace missed this one.
This commit is contained in:
parent
9a4f10f6bc
commit
442a5faa84
1 changed files with 3 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue